aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_network_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-06-26 17:15:54 +0000
committerChristian Grothoff <christian@grothoff.org>2010-06-26 17:15:54 +0000
commit902d220cb04ce87b13756747d76c399009814d21 (patch)
tree2f6441877873182068efd42e69b81d9c8be9f7b1 /src/include/gnunet_network_lib.h
parent37194f115116b2ea38d5ccb3c7fd8d3a75d77641 (diff)
downloadgnunet-902d220cb04ce87b13756747d76c399009814d21.tar.gz
gnunet-902d220cb04ce87b13756747d76c399009814d21.zip
scheduler optimizing
Diffstat (limited to 'src/include/gnunet_network_lib.h')
-rw-r--r--src/include/gnunet_network_lib.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/include/gnunet_network_lib.h b/src/include/gnunet_network_lib.h
index 19fd234ee..a5ae0e4e6 100644
--- a/src/include/gnunet_network_lib.h
+++ b/src/include/gnunet_network_lib.h
@@ -323,6 +323,19 @@ void GNUNET_NETWORK_fdset_copy_native (struct GNUNET_NETWORK_FDSet *to,
323void GNUNET_NETWORK_fdset_set_native (struct GNUNET_NETWORK_FDSet *to, 323void GNUNET_NETWORK_fdset_set_native (struct GNUNET_NETWORK_FDSet *to,
324 int nfd); 324 int nfd);
325 325
326
327/**
328 * Test native fd in a set
329 *
330 * @param to set to test, NULL for empty set
331 * @param nfd native FD to test, -1 for none
332 * @return GNUNET_YES if to contains nfd
333 */
334int
335GNUNET_NETWORK_fdset_test_native (const struct GNUNET_NETWORK_FDSet *to,
336 int nfd);
337
338
326/** 339/**
327 * Add a file handle to the fd set 340 * Add a file handle to the fd set
328 * @param fds fd set 341 * @param fds fd set