aboutsummaryrefslogtreecommitdiff
path: root/src/sensor/sensor.h
diff options
context:
space:
mode:
authorOmar Tarabai <tarabai@devegypt.com>2014-06-26 12:25:04 +0000
committerOmar Tarabai <tarabai@devegypt.com>2014-06-26 12:25:04 +0000
commitd001d21fbd70b6f11bd52af98f7f89faf87ec429 (patch)
tree0210596953811c07674cf9197f22bb572180a483 /src/sensor/sensor.h
parentff6b4b8f32320a55827ef6c9c4237ba8fa3d1bd3 (diff)
downloadgnunet-d001d21fbd70b6f11bd52af98f7f89faf87ec429.tar.gz
gnunet-d001d21fbd70b6f11bd52af98f7f89faf87ec429.zip
Sensor gaussian model skeleton
Diffstat (limited to 'src/sensor/sensor.h')
-rw-r--r--src/sensor/sensor.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/sensor/sensor.h b/src/sensor/sensor.h
index a505d47d3..0a301327d 100644
--- a/src/sensor/sensor.h
+++ b/src/sensor/sensor.h
@@ -19,7 +19,7 @@
19 */ 19 */
20/** 20/**
21 * @file sensor/sensor.h 21 * @file sensor/sensor.h
22 * @brief IPC messages 22 * @brief IPC messages and private service declarations
23 * @author Omar Tarabai 23 * @author Omar Tarabai
24 */ 24 */
25 25
@@ -61,3 +61,19 @@ struct SensorInfoMessage
61}; 61};
62 62
63GNUNET_NETWORK_STRUCT_END 63GNUNET_NETWORK_STRUCT_END
64
65/*
66 * Stop the sensor analysis module
67 */
68void SENSOR_analysis_stop();
69
70/*
71 * Start the sensor analysis module
72 *
73 * @param c our service configuration
74 * @param sensors_mhm multihashmap of loaded sensors
75 * @return #GNUNET_OK if started successfully, #GNUNET_SYSERR otherwise
76 */
77int
78SENSOR_analysis_start(const struct GNUNET_CONFIGURATION_Handle *c,
79 struct GNUNET_CONTAINER_MultiHashMap *sensors_mhm);