interplane.Get Omega
Read in your language

git

[Ported from github.com/git/git] Sync with Git 2.56.1

Brought by drakestapleton

branch master Branches Tags History

git / unix-socket.h

15 lines · 370 bytes Raw Blame History
1#ifndef UNIX_SOCKET_H
2#define UNIX_SOCKET_H
3
4struct unix_stream_listen_opts {
5 int listen_backlog_size;
6 unsigned int disallow_chdir:1;
7};
8
9#define UNIX_STREAM_LISTEN_OPTS_INIT { 0 }
10
11int unix_stream_connect(const char *path, int disallow_chdir);
12int unix_stream_listen(const char *path,
13 const struct unix_stream_listen_opts *opts);
14
15#endif /* UNIX_SOCKET_H */