[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r21918 - gnunet/src/include
From: |
gnunet |
Subject: |
[GNUnet-SVN] r21918 - gnunet/src/include |
Date: |
Tue, 12 Jun 2012 17:11:01 +0200 |
Author: bartpolot
Date: 2012-06-12 17:11:01 +0200 (Tue, 12 Jun 2012)
New Revision: 21918
Modified:
gnunet/src/include/gnunet_mesh_service.h
Log:
- add basic REGEX API calls to mesh
Modified: gnunet/src/include/gnunet_mesh_service.h
===================================================================
--- gnunet/src/include/gnunet_mesh_service.h 2012-06-12 15:09:36 UTC (rev
21917)
+++ gnunet/src/include/gnunet_mesh_service.h 2012-06-12 15:11:01 UTC (rev
21918)
@@ -223,7 +223,18 @@
GNUNET_ATS_Information * atsi);
+/**
+ * Store the given regex (describing offered local services) in the DHT,
+ * in order to be reachable to other peers via connect_by_string.
+ *
+ * @param h handle to mesh.
+ * @param regex string with the regular expression describing local services.
+ */
+void
+GNUNET_MESH_announce_regex (struct GNUNET_MESH_Handle *h,
+ const char *regex);
+
/**
* Create a new tunnel (we're initiator and will be allowed to add/remove peers
* and to broadcast).
@@ -288,6 +299,18 @@
/**
+ * Request that the mesh should try to connect to a peer matching the
+ * description given in the service string.
+ *
+ * @param tunnel handle to existing tunnel
+ * @param description string describing the destination node requirements
+ */
+void
+GNUNET_MESH_peer_request_connect_by_string (struct GNUNET_MESH_Tunnel *tunnel,
+ const char *description);
+
+
+/**
* Handle for a transmission request.
*/
struct GNUNET_MESH_TransmitHandle;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r21918 - gnunet/src/include,
gnunet <=