aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_network_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-08-14 11:08:43 +0000
committerChristian Grothoff <christian@grothoff.org>2011-08-14 11:08:43 +0000
commit53da062e08f1d1d4392b3a40396bb45cc093e2ac (patch)
tree40b132f38c1d6b46476bfd9c1917070956ce4861 /src/include/gnunet_network_lib.h
parent1debac4608e78f4a7800252ba9a91b4f5a376b42 (diff)
downloadgnunet-53da062e08f1d1d4392b3a40396bb45cc093e2ac.tar.gz
gnunet-53da062e08f1d1d4392b3a40396bb45cc093e2ac.zip
LRN: Added-the-ability-to-substitute-scheduler-select.
Diffstat (limited to 'src/include/gnunet_network_lib.h')
-rw-r--r--src/include/gnunet_network_lib.h23
1 files changed, 22 insertions, 1 deletions
diff --git a/src/include/gnunet_network_lib.h b/src/include/gnunet_network_lib.h
index 1945d210f..aed4cabbf 100644
--- a/src/include/gnunet_network_lib.h
+++ b/src/include/gnunet_network_lib.h
@@ -45,7 +45,28 @@ struct GNUNET_NETWORK_Handle;
45/** 45/**
46 * @brief collection of IO descriptors 46 * @brief collection of IO descriptors
47 */ 47 */
48struct GNUNET_NETWORK_FDSet; 48struct GNUNET_NETWORK_FDSet
49{
50
51 /**
52 * Maximum number of any socket socket descriptor in the set (plus one)
53 */
54 int nsds;
55
56 /**
57 * Bitset with the descriptors.
58 */
59 fd_set sds;
60
61#ifdef WINDOWS
62 /**
63 * Linked list of handles
64 */
65 struct GNUNET_CONTAINER_SList *handles;
66#endif
67
68};
69
49 70
50 71
51#include "gnunet_disk_lib.h" 72#include "gnunet_disk_lib.h"