| 132 | } |
| 133 | |
| 134 | int start(const char *path, HardCoder *hardCoder) { |
| 135 | inst = hardCoder; |
| 136 | running = 1; |
| 137 | pthread_t tid; |
| 138 | pthread_create(&tid, NULL, localServerRespThread, this); |
| 139 | int ret = createSocket(path, ""); |
| 140 | return ret > 0 ? startLoop(1) : ret; |
| 141 | } |
| 142 | |
| 143 | int onCallback(int uid, int funcid, uint64_t requestid, int bodyFormat, uint64_t timestamp, int retCode, uint8_t *data, int len) { |
| 144 | pdbg("onCallback uid:%d funcid:%d, len:%d", uid, funcid, len); |
nothing calls this directly
no outgoing calls
no test coverage detected