aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_sensor_util_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-12-24 01:10:47 +0000
committerChristian Grothoff <christian@grothoff.org>2014-12-24 01:10:47 +0000
commitf1f603c7d0b3f03dca46a4f313472288eb080eb1 (patch)
tree3a29966b02dfb83e0a8a8d5c42b3116380209fb0 /src/include/gnunet_sensor_util_lib.h
parent53cd5b8eda2fa8db86b0907a62a39598981d008a (diff)
downloadgnunet-f1f603c7d0b3f03dca46a4f313472288eb080eb1.tar.gz
gnunet-f1f603c7d0b3f03dca46a4f313472288eb080eb1.zip
making GNUNET_SCHEDULER_cancel() perform in O(1) instead of O(n) to help or even fully address #3247
Diffstat (limited to 'src/include/gnunet_sensor_util_lib.h')
-rw-r--r--src/include/gnunet_sensor_util_lib.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/gnunet_sensor_util_lib.h b/src/include/gnunet_sensor_util_lib.h
index 3cb88904b..86e017d97 100644
--- a/src/include/gnunet_sensor_util_lib.h
+++ b/src/include/gnunet_sensor_util_lib.h
@@ -124,7 +124,7 @@ struct GNUNET_SENSOR_SensorInfo
124 char *gnunet_stat_name; 124 char *gnunet_stat_name;
125 125
126 /** 126 /**
127 * Handle to statistics get request (OR GNUNET_SCHEDULER_NO_TASK) 127 * Handle to statistics get request (OR NULL)
128 */ 128 */
129 struct GNUNET_STATISTICS_GetHandle *gnunet_stat_get_handle; 129 struct GNUNET_STATISTICS_GetHandle *gnunet_stat_get_handle;
130 130
@@ -178,9 +178,9 @@ struct GNUNET_SENSOR_SensorInfo
178 int report_anomalies; 178 int report_anomalies;
179 179
180 /** 180 /**
181 * Execution task (OR GNUNET_SCHEDULER_NO_TASK) 181 * Execution task (OR NULL)
182 */ 182 */
183 GNUNET_SCHEDULER_TaskIdentifier execution_task; 183 struct GNUNET_SCHEDULER_Task * execution_task;
184 184
185 /** 185 /**
186 * Is the sensor being executed 186 * Is the sensor being executed