00001 /* 00002 * Copyright 2005, 2006, Internet2 00003 * Legal conditions are in file LICENSE 00004 * (MD5 = c434f2e53b8089d8b4d0172c7ce07360). 00005 */ 00006 /** 00007 * 00008 * @file vfer_ccontrol.h 00009 * @author Ivan Beschastnikh 00010 * @brief Header file for ccontrol.c. 00011 * 00012 * This file suports ccontrol.c by defining the prototypes for the 00013 * functions implemented in ccontrol.c 00014 * 00015 * - 03/25/06 ivan created 00016 */ 00017 00018 00019 #ifndef VFER_CCONTROL_H 00020 #define VFER_CCONTROL_H 00021 00022 /* 00023 * includes 00024 */ 00025 00026 #include "vfer.h" 00027 #include "vfer_packet.h" 00028 #include "vfer_btree_delay.h" 00029 00030 /* structures and some relevant defines are in globals.h */ 00031 00032 /* 00033 * function declarations 00034 */ 00035 00036 /* public */ 00037 void CC_Sent_CtlPack (packet* p, vfer_sock* sock); 00038 void CC_Recvd_Close (packet* p, vfer_sock* sock); 00039 00040 int CC_Can_Send_Data (size_t data_size, vfer_sock* sock); 00041 void CC_Sent_Data (packet* p, frame_link* frame, vfer_sock* sock); 00042 void CC_Recvd_Data (packet* p, vfer_sock* sock); 00043 void CC_Recvd_Ack (packet* p, vfer_sock* sock); 00044 00045 #endif /* VFER_CCONTROL_H */