-code hygene
[oweals/gnunet.git] / src / include / gnunet_tun_lib.h
index 87b60a479a9368c5f44cf1e4740c1e485ecbf7fc..7d1e7cfedfc930a1d312eceaba2761c1242e1588 100644 (file)
@@ -887,4 +887,16 @@ char *
 GNUNET_TUN_ipv4policy2regex (const char *policy);
 
 
+/**
+ * Hash the service name of a hosted service to the
+ * hash code that is used to identify the service on
+ * the network.
+ *
+ * @param service_name a string
+ * @param hc corresponding hash
+ */
+void
+GNUNET_TUN_service_name_to_hash (const char *service_name,
+                                 struct GNUNET_HashCode *hc);
+
 #endif