]> git.sesse.net Git - cubemap/blob - acceptor.h
f173e5b647e68d9c4d8cad2ac64e99b7c4523dd0
[cubemap] / acceptor.h
1 #ifndef _ACCEPTOR_H
2 #define _ACCEPTOR_H
3
4 int create_server_socket(int port);
5
6 // A thread that accepts new connections on a given socket,
7 // and hands them off to the server pool.
8 void *acceptor_thread_run(void *arg);
9
10 #endif  // !defined(_ACCEPTOR_H)