diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-10-08 14:57:40 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-10-08 14:57:40 +0000 |
commit | 40c44dfea1fd283af8340419f4dc313b57bee820 (patch) | |
tree | fee512f5f68203ca8c343eb207caaf561fef6a58 /src/include/gnunet_network_lib.h | |
parent | 72cb2b1652948034164725ca79c5b00b8d35da61 (diff) | |
download | gnunet-40c44dfea1fd283af8340419f4dc313b57bee820.tar.gz gnunet-40c44dfea1fd283af8340419f4dc313b57bee820.zip |
for w32 port
Diffstat (limited to 'src/include/gnunet_network_lib.h')
-rw-r--r-- | src/include/gnunet_network_lib.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/include/gnunet_network_lib.h b/src/include/gnunet_network_lib.h index a5ae0e4e6..73303689a 100644 --- a/src/include/gnunet_network_lib.h +++ b/src/include/gnunet_network_lib.h | |||
@@ -271,6 +271,19 @@ void GNUNET_NETWORK_fdset_set (struct GNUNET_NETWORK_FDSet *fds, | |||
271 | const struct GNUNET_NETWORK_Handle *desc); | 271 | const struct GNUNET_NETWORK_Handle *desc); |
272 | 272 | ||
273 | 273 | ||
274 | #ifdef __MINGW32__ | ||
275 | /* TODO: maybe #ifdef WINDOWS? -ndurner */ | ||
276 | /** | ||
277 | * Add a W32 file handle to the fd set | ||
278 | * @param fds fd set | ||
279 | * @param h the file handle to add | ||
280 | */ | ||
281 | void | ||
282 | GNUNET_NETWORK_fdset_handle_set_native_w32_handle (struct GNUNET_NETWORK_FDSet *fds, | ||
283 | HANDLE h); | ||
284 | #endif | ||
285 | |||
286 | |||
274 | /** | 287 | /** |
275 | * Check whether a socket is part of the fd set | 288 | * Check whether a socket is part of the fd set |
276 | * @param fds fd set | 289 | * @param fds fd set |