Introduction
Introduction Statistics Contact Development Disclaimer Help
sock.h - quark - quark web server
git clone git://git.suckless.org/quark
Log
Files
Refs
LICENSE
---
sock.h (545B)
---
1 /* See LICENSE file for copyright and license details. */
2 #ifndef SOCK_H
3 #define SOCK_H
4
5 #include <stddef.h>
6 #include <sys/socket.h>
7 #include <sys/types.h>
8
9 int sock_get_ips(const char *, const char *);
10 int sock_get_uds(const char *, uid_t, gid_t);
11 void sock_rem_uds(const char *);
12 int sock_set_timeout(int, int);
13 int sock_set_nonblocking(int);
14 int sock_get_inaddr_str(const struct sockaddr_storage *, char *, size_t);
15 int sock_same_addr(const struct sockaddr_storage *,
16 const struct sockaddr_storage *);
17
18 #endif /* SOCK_H */
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.