diff options
Diffstat (limited to 'src/include/gnunet_network_lib.h')
-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 |