Revision 4f1a41e6 transmissionHandler.h

View differences:

transmissionHandler.h
138 138
  time_t starttime; ///< the start time
139 139
} recvdata;
140 140

  
141
typedef struct {
142
	struct receive_connection_cb_list *next;
143
	receive_connection_cb connection_cb;
144
	void *arg;
145
}receive_connection_cb_list;
146

  
141 147
/**
142 148
 * A struct with information about a connection that exist or a connection that is being established
143 149
 */
......
153 159
  int seqnr; ///< sequence number for connections that have been tried
154 160
  //struct event *timeout;
155 161
  struct timeval timeout_value; ///< the timeout value for the connection estahlishment
156
  bool internal_connect; ///< set to true if a connection to the internall address could be established 
157
  receive_connection_cb connection_cb_1; ///< A callback pointer from the type receive_connection_cb that is envoked when the connection is ready to use 
158
  void *arg_1; ///< A void pointer that is provided by the upper layer and returned with the connection callback once it is ready to use
159
  receive_connection_cb connection_cb_2; ///<  A second callback pointer from the type receive_connection_cb that is envoked when the connection is ready to use
160
  void *arg_2; ///< A void pointer that is provided by the upper layer and returned with the con\nection callback once it is ready to use 
161

  
162
  bool internal_connect; ///< set to true if a connection to the internall address could be established
163
  receive_connection_cb_list *connection_head;
164
  receive_connection_cb_list *connection_last;
162 165
} connect_data;
163 166

  
164 167
/**

Also available in: Unified diff