*/
size_t feed_data_to_core (void *cls, size_t size, void *buf) {
size_t size_used;
- PeerInfo *peer_info;
+ struct PeerInfo *peer_info;
if(0 == size && NULL == buf) {
// FIXME retry? cancel?
* @param data pointer to the result data
*/
void dht_get_response_handler(void *cls,
- struct GNUNET_TIME_Absolute exp,
- const GNUNET_HashCode * key,
- const struct GNUNET_PeerIdentity * const *get_path,
- const struct GNUNET_PeerIdentity * const *put_path,
- enum GNUNET_BLOCK_Type type,
- size_t size,
- const void *data)
+ struct GNUNET_TIME_Absolute exp,
+ const GNUNET_HashCode * key,
+ const struct GNUNET_PeerIdentity * const *get_path,
+ const struct GNUNET_PeerIdentity * const *put_path,
+ enum GNUNET_BLOCK_Type type,
+ size_t size,
+ const void *data)
{
struct PeerInfo *peer_info;
struct MESH_tunnel *t;
if (c->handle == client) {
GNUNET_CONTAINER_DLL_remove (clients_head, clients_tail, c);
while (NULL != (t = c->tunnels_head)) {
- GNUNET_CONTAINER_DLL_remove (c->tunnels_head, c->tunnels_tail, t);
+ GNUNET_CONTAINER_DLL_remove (c->tunnels_head,
+ c->tunnels_tail,
+ t);
/* TODO free paths and other tunnel dynamic structures */
GNUNET_free (t);
}
/******************************************************************************/
/**
- * Process mesh requests. FIXME NON FUNCTIONAL, SKELETON
+ * Process mesh requests.
*
* @param cls closure
* @param server the initialized server