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);