Skip to content

Commit

Permalink
moved prototypes up
Browse files Browse the repository at this point in the history
  • Loading branch information
AJ ONeal committed Nov 4, 2010
1 parent 1a1e54c commit c23bd18
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ipc/unix-socket-ipc-daemon.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ struct sock_ev_client {

int setnonblock(int fd);
static void not_blocked(EV_P_ ev_periodic *w, int revents);
static void server_cb(EV_P_ ev_io *w, int revents);
inline static struct sock_ev_client* client_new(int fd);
static void client_cb(EV_P_ ev_io *w, int revents);
int server_init(struct sock_ev_serv* server, char* sock_path, int max_queue);
int unix_socket_init(struct sockaddr_un* socket_un, char* sock_path, int max_queue);


// This callback is called when client data is available
static void client_cb(EV_P_ ev_io *w, int revents) {
Expand Down

0 comments on commit c23bd18

Please sign in to comment.