Common definitions. More...
Go to the source code of this file.
Enumerations | |
enum | ephemerizer_response_type { EPHEMERIZER_RESPONSE_FAILED, EPHEMERIZER_RESPONSE_OK, EPHEMERIZER_RESPONSE_OK_CPABE } |
enum | client_command_return_value_type { COMMAND_OK, COMMAND_QUIT, COMMAND_USAGE, COMMAND_FAILED } |
Functions | |
int | sendn (int sd, const void *buf, unsigned int buf_len) |
int | recvn (int sd, void *buf, unsigned int buf_len) |
Variables | |
const int | DEFAULT_PORT = 52741 |
const int | BACKLOG = 3 |
const int | REQUEST_BUFFER_LENGTH = 256 |
const int | RESPONSE_BUFFER_LENGTH = 1600 |
const int | POLICY_NAME_LENGTH = 128 |
const int | ADDRESS_LENGTH = 256 |
const int | CHALLENGE_LENGTH = 128 |
Common definitions.
int recvn | ( | int | sd, | |
void * | buf, | |||
unsigned int | buf_len | |||
) |
int sendn | ( | int | sd, | |
const void * | buf, | |||
unsigned int | buf_len | |||
) |
const int ADDRESS_LENGTH = 256 |
const int BACKLOG = 3 |
const int CHALLENGE_LENGTH = 128 |
const int DEFAULT_PORT = 52741 |
const int POLICY_NAME_LENGTH = 128 |
const int REQUEST_BUFFER_LENGTH = 256 |
const int RESPONSE_BUFFER_LENGTH = 1600 |