diff options
author | LRN <lrn1986@gmail.com> | 2015-01-24 23:01:25 +0000 |
---|---|---|
committer | LRN <lrn1986@gmail.com> | 2015-01-24 23:01:25 +0000 |
commit | b321893de2f2dddd32a3fe2d727593c71a4875f3 (patch) | |
tree | bd285454e16804efcbfc43998bf29dc8e709d380 /src/include | |
parent | a1193adca1ddba0f6ac1c58154ae8377225063a3 (diff) | |
download | gnunet-b321893de2f2dddd32a3fe2d727593c71a4875f3.tar.gz gnunet-b321893de2f2dddd32a3fe2d727593c71a4875f3.zip |
Add GNUNET_NETWORK_fdset_handle_set_first
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gnunet_network_lib.h | 12 |
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 | */ | ||
524 | void | ||
525 | GNUNET_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 |