fix systemd unit install path
[external/acpid.git] / ud_socket.h
1 /*
2  *$Id: ud_socket.h,v 1.3 2009/04/22 18:22:28 thockin Exp $
3  */
4
5 #ifndef UD_SOCKET_H__
6 #define UD_SOCKET_H__
7
8 #include <sys/socket.h>
9 #include <sys/un.h>
10
11 int ud_create_socket(const char *name);
12 int ud_accept(int sock, struct ucred *cred);
13 int ud_connect(const char *name);
14 int ud_get_peercred(int fd, struct ucred *cred);
15
16 #endif