- fix peer to notify
[oweals/gnunet.git] / src / mesh / gnunet-service-mesh_local.h
index a78ef7af2f1234d76d1c93a67737250c35f8c7e0..c5a0b367c055961eac19d64cbf2b0521828921ca 100644 (file)
@@ -159,15 +159,6 @@ 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.
  *
@@ -182,6 +173,15 @@ GML_send_channel_create (struct MeshClient *c,
                          uint32_t id, uint32_t port, uint32_t opt,
                          const struct GNUNET_PeerIdentity *peer);
 
+/**
+ * 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_channel_nack (struct MeshClient *c, MESH_ChannelNumber id);
+
 /**
  * Notify a client that a channel is no longer valid.
  *
@@ -223,4 +223,4 @@ GML_2s (const struct MeshClient *c);
 
 /* ifndef GNUNET_MESH_SERVICE_LOCAL_H */
 #endif
-/* end of gnunet-mesh-service_LOCAL.h */
\ No newline at end of file
+/* end of gnunet-mesh-service_LOCAL.h */