Searched refs:server_state (Results 1 – 1 of 1) sorted by relevance
21 struct server_state { struct32 bool (*cb)(struct server_state *srvst, size_t idx); argument36 static bool server_io_cb(struct server_state *srvst, size_t idx) in server_io_cb()69 static bool server_add_state(struct server_state *srvst, in server_add_state()70 bool (*cb)(struct server_state *srvst, size_t idx), in server_add_state()107 static bool tcp_server_accept_cb(struct server_state *srvst, size_t idx) in tcp_server_accept_cb()138 static bool udp_server_cb(struct server_state *srvst, size_t idx) in udp_server_cb()148 static bool server_quit_cb(struct server_state *srvst, size_t idx) in server_quit_cb()156 bool (*cb)(struct server_state *srvst, size_t idx)) in sock_server()158 struct server_state srvst = { .cb = ts->cb }; in sock_server()
Completed in 2 milliseconds