blob: f273e2fb9c7602c3b16d8beea488754f91b8d6b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#ifndef util_h_INCLUDED
#define util_h_INCLUDED
#include <sys/types.h>
#include <sys/socket.h>
#include <stddef.h>
#include "conf.h"
// repeatedly call send until all the data has been sent down
// the socket.
ssize_t sendall(int sockfd, void *buf, size_t len);
#endif // util_h_INCLUDED
|