aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_network_lib.h
diff options
context:
space:
mode:
authorLRN <lrn1986@gmail.com>2014-12-14 14:54:54 +0000
committerLRN <lrn1986@gmail.com>2014-12-14 14:54:54 +0000
commitea17e83e666b0104b43d04423cef193f92199c26 (patch)
tree02f5795bb0ddc364f2b81d60219e29a7f8c85437 /src/include/gnunet_network_lib.h
parent287a26a5ca4f5ea014419f4c0000c64f4e3acbf3 (diff)
downloadgnunet-ea17e83e666b0104b43d04423cef193f92199c26.tar.gz
gnunet-ea17e83e666b0104b43d04423cef193f92199c26.zip
Grothoff's W32 select slist elimination and prettification
Diffstat (limited to 'src/include/gnunet_network_lib.h')
-rw-r--r--src/include/gnunet_network_lib.h18
1 files changed, 16 insertions, 2 deletions
diff --git a/src/include/gnunet_network_lib.h b/src/include/gnunet_network_lib.h
index cc01a8133..4042f3f82 100644
--- a/src/include/gnunet_network_lib.h
+++ b/src/include/gnunet_network_lib.h
@@ -59,9 +59,23 @@ struct GNUNET_NETWORK_FDSet
59 59
60#ifdef WINDOWS 60#ifdef WINDOWS
61 /** 61 /**
62 * Linked list of handles 62 * Array of file handles (from pipes) that are also in
63 * the FDSet. Needed as those cannot go into @e sds
64 * on W32.
63 */ 65 */
64 struct GNUNET_CONTAINER_SList *handles; 66 const struct GNUNET_DISK_FileHandle **handles;
67
68 /**
69 * Size of the @e handles array
70 */
71 unsigned int handles_size;
72
73 /**
74 * Number of @e handles slots in use. Always
75 * smaller than @e handles_size.
76 */
77 unsigned int handles_pos;
78
65#endif 79#endif
66 80
67}; 81};