Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

moved prototypes up

  • Loading branch information...
commit c23bd188d31a16e282043f5c903bdc31d23eb7d2 1 parent 1a1e54c
@coolaj86 authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 ipc/unix-socket-ipc-daemon.c
View
6 ipc/unix-socket-ipc-daemon.c
@@ -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) {
Please sign in to comment.
Something went wrong with that request. Please try again.