DLL instead of multihashmap
[oweals/gnunet.git] / src / sensor / sensor.h
index 014eb5214364a7aeb48aefe9525efbba7be094d9..0a301327d0b31a5977a8dae02498f0aa5f462ec1 100644 (file)
@@ -19,7 +19,7 @@
  */
 /**
  * @file sensor/sensor.h
- * @brief example IPC messages between SENSOR API and GNS service
+ * @brief IPC messages and private service declarations
  * @author Omar Tarabai
  */
 
@@ -61,3 +61,19 @@ struct SensorInfoMessage
 };
 
 GNUNET_NETWORK_STRUCT_END
+
+/*
+ * Stop the sensor analysis module
+ */
+void SENSOR_analysis_stop();
+
+/*
+ * Start the sensor analysis module
+ *
+ * @param c our service configuration
+ * @param sensors_mhm multihashmap of loaded sensors
+ * @return #GNUNET_OK if started successfully, #GNUNET_SYSERR otherwise
+ */
+int
+SENSOR_analysis_start(const struct GNUNET_CONFIGURATION_Handle *c,
+    struct GNUNET_CONTAINER_MultiHashMap *sensors_mhm);