#include <arpa/inet.h>
#include <fcntl.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>
#include <string>
Go to the source code of this file.
|
| static ssize_t | loop_write (int fd, const void *data, size_t size) |
| |
| static ssize_t | loop_read (int fd, void *data, size_t size) |
| |
◆ RequestType
| Enumerator |
|---|
| GET | |
| PUT | |
| ERASE | |
| RESET | |
| CREATECONTAINER | |
| GOSSIP | |
| GET_TARGET | |
| PUT_TARGET | |
◆ loop_read()
| static ssize_t loop_read |
( |
int |
fd, |
|
|
void * |
data, |
|
|
size_t |
size |
|
) |
| |
|
static |
◆ loop_write()
| static ssize_t loop_write |
( |
int |
fd, |
|
|
const void * |
data, |
|
|
size_t |
size |
|
) |
| |
|
static |