module/i3: break out get_socket_address()

This commit is contained in:
Daniel Eklöf 2019-02-13 21:53:53 +01:00
parent 6e44d8e04e
commit 37d15096f9
4 changed files with 102 additions and 81 deletions

9
modules/i3-common.h Normal file
View file

@ -0,0 +1,9 @@
#pragma once
#include <stdbool.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/un.h>
bool i3_get_socket_address(struct sockaddr_un *addr);