2018-02-04 20:27:33 +00:00
|
|
|
/* See LICENSE file for copyright and license details. */
|
|
|
|
#ifndef SOCK_H
|
|
|
|
#define SOCK_H
|
|
|
|
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <sys/socket.h>
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
|
|
|
int sock_get_ips(const char *, const char *);
|
|
|
|
void sock_rem_uds(const char *);
|
|
|
|
int sock_get_uds(const char *, uid_t, gid_t);
|
|
|
|
int sock_set_timeout(int, int);
|
2020-08-05 16:28:21 +00:00
|
|
|
int sock_get_inaddr_str(const struct sockaddr_storage *, char *, size_t);
|
2018-02-04 20:27:33 +00:00
|
|
|
|
|
|
|
#endif /* SOCK_H */
|