module/i3: break out send_pkg()

This commit is contained in:
Daniel Eklöf 2019-02-13 22:00:13 +01:00
parent 76dc4f82cd
commit 92319714c7
3 changed files with 28 additions and 23 deletions

View file

@ -7,3 +7,4 @@
#include <sys/un.h>
bool i3_get_socket_address(struct sockaddr_un *addr);
bool i3_send_pkg(int sock, int cmd, char *data);