summary refs log tree commit diff
path: root/bouncer.h
diff options
context:
space:
mode:
Diffstat (limited to 'bouncer.h')
-rw-r--r--bouncer.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/bouncer.h b/bouncer.h
index b8e6362..13656ad 100644
--- a/bouncer.h
+++ b/bouncer.h
@@ -14,7 +14,6 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#include <poll.h>
 #include <stdlib.h>
 #include <tls.h>
 
@@ -27,6 +26,5 @@
 #endif
 
 void listenConfig(const char *cert, const char *priv);
-size_t
-listenBind(struct pollfd fds[], size_t cap, const char *host, const char *port);
-struct tls *listenAccept(struct pollfd *poll, int fd);
+size_t listenBind(int fds[], size_t cap, const char *host, const char *port);
+int listenAccept(struct tls **client, int fd);
ce/commit/state.c?h=1.4p1&id=d30bd701e902137c58879ffdc8a8a48de68913dc&follow=1'>Track nick changesJune McEnroe 2019-10-23Rename Command to MessageJune McEnroe 2019-10-23Synchronize state after client registrationJune McEnroe 2019-10-23Send to server if client has no needsJune McEnroe 2019-10-23Implement some amount of client connectionJune McEnroe 2019-10-23Set clients non-blockingJune McEnroe 2019-10-23Clean up state.c and factor out parsingJune McEnroe 2019-10-23Respond to pingsJune McEnroe 2019-10-23Add verbose flagJune McEnroe 2019-10-23Set NOSIGPIPE on server connectionJune McEnroe 2019-10-23Set an initial loop capJune McEnroe 2019-10-23Fix rest parsingJune McEnroe 2019-10-23Add dynamic poll listJune McEnroe 2019-10-23Don't assume commands have targets and handle ERRORJune McEnroe 2019-10-23Clean up state somewhatJune McEnroe 2019-10-23Actually send the buffer...June McEnroe 2019-10-23Add stateJune McEnroe