Commit ff2cb23a authored by vvaltman's avatar vvaltman

Added function to provide custom net methods

parent 282b1c6a
...@@ -261,6 +261,10 @@ static inline void tgl_set_test_mode (void) { ...@@ -261,6 +261,10 @@ static inline void tgl_set_test_mode (void) {
tgl_state.test_mode ++; tgl_state.test_mode ++;
} }
static inline void tgl_set_net_methods (struct tgl_net_methods *methods) {
tgl_state.net_methods = methods;
}
struct pollfd; struct pollfd;
int tgl_connections_make_poll_array (struct pollfd *fds, int max); int tgl_connections_make_poll_array (struct pollfd *fds, int max);
void tgl_connections_poll_result (struct pollfd *fds, int max); void tgl_connections_poll_result (struct pollfd *fds, int max);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment