summaryrefslogtreecommitdiffstats
path: root/src/util.h
blob: 8e9a3796fccf8b70c840d7f23d63bc4334d0cdf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef fooutilhfoo
#define fooutilhfoo

void make_nonblock_fd(int fd);

void peer_to_string(char *c, size_t l, int fd);

int make_secure_dir(const char* dir);

int make_socket_low_delay(int fd);
int make_tcp_socket_low_delay(int fd);

#endif