]>
Commit | Line | Data |
---|---|---|
e2770979 JK |
1 | #ifndef UNIX_SOCKET_H |
2 | #define UNIX_SOCKET_H | |
3 | ||
55144ccb JH |
4 | struct unix_stream_listen_opts { |
5 | int listen_backlog_size; | |
6 | }; | |
7 | ||
8 | #define UNIX_STREAM_LISTEN_OPTS_INIT { 0 } | |
9 | ||
e2770979 | 10 | int unix_stream_connect(const char *path); |
55144ccb JH |
11 | int unix_stream_listen(const char *path, |
12 | const struct unix_stream_listen_opts *opts); | |
e2770979 JK |
13 | |
14 | #endif /* UNIX_SOCKET_H */ |