Add docs to include/ipc.h
This commit is contained in:
parent
a43846ea27
commit
45c3341e09
|
@ -16,8 +16,20 @@
|
||||||
|
|
||||||
#include "i3/ipc.h"
|
#include "i3/ipc.h"
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Handler for activity on the listening socket, meaning that a new client
|
||||||
|
* has just connected and we should accept() him. Sets up the event handler
|
||||||
|
* for activity on the new connection and inserts the file descriptor into
|
||||||
|
* the list of clients.
|
||||||
|
*
|
||||||
|
*/
|
||||||
void ipc_new_client(EV_P_ struct ev_io *w, int revents);
|
void ipc_new_client(EV_P_ struct ev_io *w, int revents);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Creates the UNIX domain socket at the given path, sets it to non-blocking
|
||||||
|
* mode, bind()s and listen()s on it.
|
||||||
|
*
|
||||||
|
*/
|
||||||
int ipc_create_socket(const char *filename);
|
int ipc_create_socket(const char *filename);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue