src/common/Common.h File Reference

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

Detailed Description

Common definitions.

Author:
Yang Tang

Enumeration Type Documentation

Enumerator:
COMMAND_OK 
COMMAND_QUIT 
COMMAND_USAGE 
COMMAND_FAILED 
Enumerator:
EPHEMERIZER_RESPONSE_FAILED 
EPHEMERIZER_RESPONSE_OK 
EPHEMERIZER_RESPONSE_OK_CPABE 

Function Documentation

int recvn ( int  sd,
void *  buf,
unsigned int  buf_len 
)
int sendn ( int  sd,
const void *  buf,
unsigned int  buf_len 
)

Variable Documentation

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
 All Classes Files Functions Variables Enumerations Enumerator Defines

Generated on Tue Jul 19 17:22:43 2011 for FADE by  doxygen 1.6.1