|
bool | IS_MESSAGE (const unsigned char) |
|
bool | IS_REQUEST (const unsigned char) |
|
bool | IS_METADATA (const unsigned char) |
|
bool | IS_DATA (const unsigned char) |
|
bool | IS_REQDATA (const unsigned char) |
|
bool | IS_REQMETA (const unsigned char) |
|
bool | IS_COMPLETE (const unsigned char) |
|
bool | IS_GET_REQUEST (const unsigned char) |
|
bool | IS_PUT_REQUEST (const unsigned char) |
|
bool | IS_DELETE_REQUEST (const unsigned char) |
|
void | make_metadata_packet (vector< PACKET_BYTE > &packet, packet_struct_metalong meta) |
|
void | make_metadata_packet (vector< PACKET_BYTE > &packet, PACKET_TX_ID_TYPE tx_id, char *file_name, PACKET_FILE_SIZE_TYPE file_size, char *node_name, char *agent_name) |
|
void | make_metadata_packet (vector< PACKET_BYTE > &packet, packet_struct_metashort meta) |
|
void | make_metadata_packet (vector< PACKET_BYTE > &packet, PACKET_NODE_ID_TYPE node_id, PACKET_TX_ID_TYPE tx_id, char *file_name, PACKET_FILE_SIZE_TYPE file_size, char *agent_name) |
|
void | extract_metadata (vector< PACKET_BYTE > &packet, packet_struct_metalong &meta) |
|
void | extract_metadata (vector< PACKET_BYTE > &packet, PACKET_TX_ID_TYPE &tx_id, char *file_name, PACKET_FILE_SIZE_TYPE &file_size, char *node_name, char *agent_name) |
|
void | extract_metadata (vector< PACKET_BYTE > &packet, packet_struct_metashort &meta) |
|
void | extract_metadata (vector< PACKET_BYTE > &packet, PACKET_TX_ID_TYPE &tx_id, char *file_name, PACKET_FILE_SIZE_TYPE &file_size, PACKET_NODE_ID_TYPE &node_id, char *agent_name) |
|
void | make_data_packet (vector< PACKET_BYTE > &packet, packet_struct_data data) |
|
void | make_data_packet (vector< PACKET_BYTE > &packet, PACKET_NODE_ID_TYPE node_id, PACKET_TX_ID_TYPE tx_id, PACKET_CHUNK_SIZE_TYPE byte_count, PACKET_FILE_SIZE_TYPE chunk_start, PACKET_BYTE *chunk) |
|
void | extract_data (vector< PACKET_BYTE > &packet, packet_struct_data &data) |
|
void | extract_data (vector< PACKET_BYTE > &packet, PACKET_NODE_ID_TYPE &node_id, PACKET_TX_ID_TYPE &tx_id, PACKET_CHUNK_SIZE_TYPE &byte_count, PACKET_FILE_SIZE_TYPE &chunk_start, PACKET_BYTE *chunk) |
|
void | make_reqdata_packet (vector< PACKET_BYTE > &packet, packet_struct_reqdata reqdata) |
|
void | make_reqdata_packet (vector< PACKET_BYTE > &packet, PACKET_NODE_ID_TYPE node_id, PACKET_TX_ID_TYPE tx_id, PACKET_FILE_SIZE_TYPE hole_start, PACKET_FILE_SIZE_TYPE hole_end) |
|
void | extract_reqdata (vector< PACKET_BYTE > &packet, packet_struct_reqdata &reqdata) |
|
void | extract_reqdata (vector< PACKET_BYTE > &packet, PACKET_NODE_ID_TYPE &node_id, PACKET_TX_ID_TYPE &tx_id, PACKET_FILE_SIZE_TYPE &hole_start, PACKET_FILE_SIZE_TYPE &hole_end) |
|
void | make_reqmeta_packet (vector< PACKET_BYTE > &packet, PACKET_NODE_ID_TYPE node_id, string node_name, vector< PACKET_TX_ID_TYPE > reqmeta) |
|
void | extract_reqmeta (vector< PACKET_BYTE > &packet, packet_struct_reqmeta &reqmeta) |
|
void | make_complete_packet (vector< PACKET_BYTE > &packet, packet_struct_complete complete) |
|
void | make_complete_packet (vector< PACKET_BYTE > &packet, PACKET_NODE_ID_TYPE node_id, PACKET_TX_ID_TYPE tx_id) |
|
void | extract_complete (vector< PACKET_BYTE > &packet, packet_struct_complete &complete) |
|
void | extract_complete (vector< PACKET_BYTE > &packet, PACKET_NODE_ID_TYPE &node_id, PACKET_TX_ID_TYPE &tx_id) |
|
void | make_cancel_packet (vector< PACKET_BYTE > &packet, packet_struct_cancel cancel) |
|
void | make_cancel_packet (vector< PACKET_BYTE > &packet, PACKET_NODE_ID_TYPE node_id, PACKET_TX_ID_TYPE tx_id) |
|
void | extract_cancel (vector< PACKET_BYTE > &packet, packet_struct_cancel &cancel) |
|
void | extract_cancel (vector< PACKET_BYTE > &packet, PACKET_NODE_ID_TYPE &node_id, PACKET_TX_ID_TYPE &tx_id) |
|
void | make_reqqueue_packet (vector< PACKET_BYTE > &packet, PACKET_NODE_ID_TYPE node_id, string node_name) |
|
void | extract_reqqueue (vector< PACKET_BYTE > &packet, packet_struct_reqqueue &reqqueue) |
|
void | make_queue_packet (vector< PACKET_BYTE > &packet, PACKET_NODE_ID_TYPE node_id, string node_name, vector< PACKET_TX_ID_TYPE > queue) |
|
void | extract_queue (vector< PACKET_BYTE > &packet, packet_struct_queue &queue) |
|
void | make_heartbeat_packet (vector< PACKET_BYTE > &packet, PACKET_NODE_ID_TYPE node_id, string node_name, uint8_t beat_period, uint32_t throughput, uint32_t funixtime) |
|
void | extract_heartbeat (vector< PACKET_BYTE > &packet, packet_struct_heartbeat &heartbeat) |
|
void | make_message_packet (vector< PACKET_BYTE > &packet, PACKET_NODE_ID_TYPE node_id, string message) |
|
void | extract_message (vector< PACKET_BYTE > &packet, packet_struct_message &message) |
|
void | make_command_packet (vector< PACKET_BYTE > &packet, PACKET_NODE_ID_TYPE node_id, string command) |
|
void | extract_command (vector< PACKET_BYTE > &packet, packet_struct_command &command) |
|
int32_t | check_node_id (PACKET_NODE_ID_TYPE node_id) |
|
int32_t | lookup_node_id (string node_name) |
|
int32_t | set_node_id (PACKET_NODE_ID_TYPE node_id, string node_name) |
|
string | lookup_node_id_name (PACKET_NODE_ID_TYPE node_id) |
|
int32_t | load_nodeids () |
|
vector< string > | get_nodeids () |
|
void | show_fstream_state (std::ifstream &out) |
| ------------— code above this line has be checked and de-Jonny-fied More...
|
|
int32_t | get_file_size (string filename) |
| Get size of file. More...
|
|
int32_t | get_file_size (const char *filename) |
|
void | print_cstring (uint8_t *buf, int siz) |
|
void | print_cstring_with_index (uint8_t *buf, int siz) |
|
void | print_cstring_hex (uint8_t *buf, int siz) |
|
void | print_cstring_hex_with_index (uint8_t *buf, int siz) |
|
void | unable_to_remove (string filename) |
|
PACKET_TYPE | salt_type (PACKET_TYPE type) |
|
File Transfer Support header file.