clean up for configs
[oweals/gnunet.git] / src / mesh / gnunet-service-mesh_local.h
index e10db1161cb9c1bc2c0b9239c34bdfbd4cec0abb..a78ef7af2f1234d76d1c93a67737250c35f8c7e0 100644 (file)
@@ -72,15 +72,15 @@ void
 GML_shutdown (void);
 
 /**
- * Get a chennel from a client
+ * Get a channel from a client.
  *
- * @param client the client to check
- * @param chid Channel ID
+ * @param c Client to check.
+ * @param chid Channel ID, must be local (> 0x800...).
  *
- * @return non-NULL if channel exists in the global DLL
+ * @return non-NULL if channel exists in the clients lists
  */
 struct MeshChannel *
-GML_channel_get (struct MeshClient *client, uint32_t chid);
+GML_channel_get (struct MeshClient *c, uint32_t chid);
 
 /**
  * Add a channel to a client
@@ -159,6 +159,15 @@ GML_client_delete_channel (struct MeshClient *c,
 void
 GML_send_ack (struct MeshClient *c, MESH_ChannelNumber id);
 
+/**
+ * Build a local channel NACK message and send it to a local client.
+ *
+ * @param c Client to whom send the NACK.
+ * @param id Channel ID to use
+ */
+void
+GML_send_nack (struct MeshClient *c, MESH_ChannelNumber id);
+
 /**
  * Notify the appropriate client that a new incoming channel was created.
  *