diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-12-06 17:58:40 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-12-06 17:58:40 +0000 |
commit | d234059375e77fe46c57e98751dc8491dff46e85 (patch) | |
tree | f2c73e373b9e7a01af71b2fa1ba0d5feb41881cf /src/include/gnunet_network_lib.h | |
parent | afa1f268d5275e134566924a84e05ce631396cdb (diff) | |
download | gnunet-d234059375e77fe46c57e98751dc8491dff46e85.tar.gz gnunet-d234059375e77fe46c57e98751dc8491dff46e85.zip |
Implement passing sockets in IPC on W32 (#1975)
Diffstat (limited to 'src/include/gnunet_network_lib.h')
-rw-r--r-- | src/include/gnunet_network_lib.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/include/gnunet_network_lib.h b/src/include/gnunet_network_lib.h index 65b2042d5..a14d5f0bb 100644 --- a/src/include/gnunet_network_lib.h +++ b/src/include/gnunet_network_lib.h | |||
@@ -96,7 +96,7 @@ GNUNET_NETWORK_socket_accept (const struct GNUNET_NETWORK_Handle *desc, | |||
96 | * @return NULL on error (including not supported on target platform) | 96 | * @return NULL on error (including not supported on target platform) |
97 | */ | 97 | */ |
98 | struct GNUNET_NETWORK_Handle * | 98 | struct GNUNET_NETWORK_Handle * |
99 | GNUNET_NETWORK_socket_box_native (int fd); | 99 | GNUNET_NETWORK_socket_box_native (SOCKTYPE fd); |
100 | 100 | ||
101 | 101 | ||
102 | /** | 102 | /** |
@@ -320,8 +320,7 @@ GNUNET_NETWORK_fdset_set (struct GNUNET_NETWORK_FDSet *fds, | |||
320 | const struct GNUNET_NETWORK_Handle *desc); | 320 | const struct GNUNET_NETWORK_Handle *desc); |
321 | 321 | ||
322 | 322 | ||
323 | #ifdef __MINGW32__ | 323 | #if WINDOWS |
324 | /* TODO: maybe #ifdef WINDOWS? -ndurner */ | ||
325 | /** | 324 | /** |
326 | * Add a W32 file handle to the fd set | 325 | * Add a W32 file handle to the fd set |
327 | * @param fds fd set | 326 | * @param fds fd set |