#include <unistd.h>#include <stdlib.h>#include <string.h>#include <errno.h>#include "../../include/client.h"#include "../../include/monitor.h"Go to the source code of this file.
Defines | |
| #define | GET_MULTIPLIER(size) (((size) - 1) / READBUFSIZE + 1) |
| #define | EOB(client, addr) ((addr) -(client)->readBuffer >= (client)->readPos) |
| #define | REMAINING(client, addr) ((client)->readPos - ((addr) - (client)->readBuffer)) |
Functions | |
| int | clientRead (tClient *client) |
| char * | clientConsumeLine (tClient *client, const char *delim, unsigned int *len) |
| char * | clientGetLine (tClient *client, const char *delim, unsigned int *len) |
| char * | clientRemoveLine (tClient *client, const char *delim, unsigned int *len) |
| #define EOB | ( | client, | |||
| addr | ) | ((addr) -(client)->readBuffer >= (client)->readPos) |
Definition at line 100 of file clientRead.c.
| #define GET_MULTIPLIER | ( | size | ) | (((size) - 1) / READBUFSIZE + 1) |
Definition at line 9 of file clientRead.c.
| #define REMAINING | ( | client, | |||
| addr | ) | ((client)->readPos - ((addr) - (client)->readBuffer)) |
Definition at line 101 of file clientRead.c.
| char* clientConsumeLine | ( | tClient * | client, | |
| const char * | delim, | |||
| unsigned int * | len | |||
| ) |
Definition at line 133 of file clientRead.c.
| char* clientGetLine | ( | tClient * | client, | |
| const char * | delim, | |||
| unsigned int * | len | |||
| ) |
Definition at line 151 of file clientRead.c.
| int clientRead | ( | tClient * | client | ) |
Definition at line 53 of file clientRead.c.
| char* clientRemoveLine | ( | tClient * | client, | |
| const char * | delim, | |||
| unsigned int * | len | |||
| ) |
Definition at line 164 of file clientRead.c.
1.5.8