struct CadetClient *c,
int is_root);
+
/**
* Handle a channel create requested by a client.
*
* @param c Client that requested the creation (will be the root).
* @param msg Create Channel message.
*
- * @return GNUNET_OK if everything went fine, GNUNET_SYSERR otherwise.
+ * @return #GNUNET_OK if everything went fine, #GNUNET_SYSERR otherwise.
*/
int
GCCH_handle_local_create (struct CadetClient *c,
- struct GNUNET_CADET_ChannelMessage *msg);
+ struct GNUNET_CADET_ChannelCreateMessage *msg);
/**
* Handler for cadet network payload traffic.
const struct GNUNET_CADET_Data *msg,
int fwd);
+
/**
* Handler for cadet network traffic end-to-end ACKs.
*
const struct GNUNET_CADET_DataACK *msg,
int fwd);
+
/**
* Handler for channel create messages.
*
GCCH_handle_create (struct CadetTunnel *t,
const struct GNUNET_CADET_ChannelCreate *msg);
+
/**
* Handler for channel NACK messages.
*
void
GCCH_handle_nack (struct CadetChannel *ch);
+
/**
* Handler for channel ack messages.
*
const struct GNUNET_CADET_ChannelManage *msg,
int fwd);
+
/**
* Handler for channel destroy messages.
*
const struct GNUNET_CADET_ChannelManage *msg,
int fwd);
+
/**
* Sends an already built message on a channel.
*
struct CadetChannel *ch, int fwd,
void *existing_copy);
+
/**
* Get the static string for identification of the channel.
*