aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_network_lib.h
diff options
context:
space:
mode:
authorLRN <lrn1986@gmail.com>2015-01-24 23:01:25 +0000
committerLRN <lrn1986@gmail.com>2015-01-24 23:01:25 +0000
commitb321893de2f2dddd32a3fe2d727593c71a4875f3 (patch)
treebd285454e16804efcbfc43998bf29dc8e709d380 /src/include/gnunet_network_lib.h
parenta1193adca1ddba0f6ac1c58154ae8377225063a3 (diff)
downloadgnunet-b321893de2f2dddd32a3fe2d727593c71a4875f3.tar.gz
gnunet-b321893de2f2dddd32a3fe2d727593c71a4875f3.zip
Add GNUNET_NETWORK_fdset_handle_set_first
Diffstat (limited to 'src/include/gnunet_network_lib.h')
-rw-r--r--src/include/gnunet_network_lib.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/include/gnunet_network_lib.h b/src/include/gnunet_network_lib.h
index 4042f3f82..6aaa1257a 100644
--- a/src/include/gnunet_network_lib.h
+++ b/src/include/gnunet_network_lib.h
@@ -515,6 +515,18 @@ GNUNET_NETWORK_fdset_handle_set (struct GNUNET_NETWORK_FDSet *fds,
515 515
516 516
517/** 517/**
518 * Add a file handle to the fd set
519 * On W32: ensure that the handle is first in the array.
520 *
521 * @param fds fd set
522 * @param h the file handle to add
523 */
524void
525GNUNET_NETWORK_fdset_handle_set_first (struct GNUNET_NETWORK_FDSet *fds,
526 const struct GNUNET_DISK_FileHandle *h);
527
528
529/**
518 * Check if a file handle is part of an fd set 530 * Check if a file handle is part of an fd set
519 * 531 *
520 * @param fds fd set 532 * @param fds fd set