aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_scheduler_lib.h
diff options
context:
space:
mode:
authort3sserakt <t3ss@posteo.de>2017-08-02 22:55:04 +0200
committert3sserakt <t3ss@posteo.de>2017-08-02 22:55:04 +0200
commitd3cd9042bf5ba56e4577507842d6f66c8ba4b3c4 (patch)
tree0cd6cd0a02ac6b447c7bb4fc08e6ba107afd0a21 /src/include/gnunet_scheduler_lib.h
parent516babaed25b7b23ba27fc837bdc19643ec54d78 (diff)
downloadgnunet-d3cd9042bf5ba56e4577507842d6f66c8ba4b3c4.tar.gz
gnunet-d3cd9042bf5ba56e4577507842d6f66c8ba4b3c4.zip
Nearly finished. Call to set_wakeup missing in case of tasks added to pending_timeout
Diffstat (limited to 'src/include/gnunet_scheduler_lib.h')
-rw-r--r--src/include/gnunet_scheduler_lib.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/gnunet_scheduler_lib.h b/src/include/gnunet_scheduler_lib.h
index 875f5043a..5baf4806d 100644
--- a/src/include/gnunet_scheduler_lib.h
+++ b/src/include/gnunet_scheduler_lib.h
@@ -152,14 +152,14 @@ struct GNUNET_SCHEDULER_FdInfo
152 * NULL if this is about a file handle or if no network 152 * NULL if this is about a file handle or if no network
153 * handle was given to the scheduler originally. 153 * handle was given to the scheduler originally.
154 */ 154 */
155 struct GNUNET_NETWORK_Handle *fd; 155 const struct GNUNET_NETWORK_Handle *fd;
156 156
157 /** 157 /**
158 * GNUnet file handle the event is about, matches @a sock, 158 * GNUnet file handle the event is about, matches @a sock,
159 * NULL if this is about a network socket or if no network 159 * NULL if this is about a network socket or if no network
160 * handle was given to the scheduler originally. 160 * handle was given to the scheduler originally.
161 */ 161 */
162 struct GNUNET_DISK_FileHandle *fh; 162 const struct GNUNET_DISK_FileHandle *fh;
163 163
164 /** 164 /**
165 * Type of the event that was generated related to @e sock. 165 * Type of the event that was generated related to @e sock.
@@ -280,7 +280,7 @@ struct GNUNET_SCHEDULER_Driver
280 int 280 int
281 (*add)(void *cls, 281 (*add)(void *cls,
282 struct GNUNET_SCHEDULER_Task *task, 282 struct GNUNET_SCHEDULER_Task *task,
283 struct GNUNET_SCHEDULER_FdInfo *fdi); 283 const struct GNUNET_SCHEDULER_FdInfo *fdi);
284 284
285 /** 285 /**
286 * Delete a @a task from the set of tasks to be run. 286 * Delete a @a task from the set of tasks to be run.