Checkpoint commit: refactoring the request code in TIDS for better reuse
[trust_router.git] / include / tr_socket.h
index 33648c1..064c6fc 100644 (file)
@@ -36,7 +36,8 @@
 #define TRUST_ROUTER_TR_SOCKET_H
 
 #include <stdlib.h>
+#include <poll.h> // for nfds_t
 
-ssize_t listen_on_all_addrs(unsigned int port, int *fd_out, size_t max_fd);
+nfds_t tr_sock_listen_all(unsigned int port, int *fd_out, nfds_t max_fd);
 
 #endif //TRUST_ROUTER_TR_SOCKET_H