diff options
Diffstat (limited to 'src/include/gnunet_network_lib.h')
-rw-r--r-- | src/include/gnunet_network_lib.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/include/gnunet_network_lib.h b/src/include/gnunet_network_lib.h index b1cf58711..764b7b29d 100644 --- a/src/include/gnunet_network_lib.h +++ b/src/include/gnunet_network_lib.h | |||
@@ -19,6 +19,13 @@ | |||
19 | */ | 19 | */ |
20 | 20 | ||
21 | /** | 21 | /** |
22 | * @addtogroup libgnunetutil | ||
23 | * Multi-function utilities library for GNUnet programs | ||
24 | * @{ | ||
25 | * | ||
26 | * @addtogroup networking | ||
27 | * @{ | ||
28 | * | ||
22 | * @author Nils Durner | 29 | * @author Nils Durner |
23 | * @author Tobias Frisch | 30 | * @author Tobias Frisch |
24 | * | 31 | * |
@@ -32,6 +39,7 @@ | |||
32 | #ifndef GNUNET_NETWORK_LIB_H | 39 | #ifndef GNUNET_NETWORK_LIB_H |
33 | #define GNUNET_NETWORK_LIB_H | 40 | #define GNUNET_NETWORK_LIB_H |
34 | 41 | ||
42 | #include "gnunet_common.h" | ||
35 | #ifdef __cplusplus | 43 | #ifdef __cplusplus |
36 | extern "C" | 44 | extern "C" |
37 | { | 45 | { |
@@ -45,6 +53,7 @@ extern "C" | |||
45 | * Include "sys/select.h" because it is required to use | 53 | * Include "sys/select.h" because it is required to use |
46 | * "fd_set" in "struct GNUNET_NETWORK_FDSet"! | 54 | * "fd_set" in "struct GNUNET_NETWORK_FDSet"! |
47 | */ | 55 | */ |
56 | |||
48 | #include <sys/select.h> | 57 | #include <sys/select.h> |
49 | //#endif | 58 | //#endif |
50 | #ifdef HAVE_SYS_SOCKET_H | 59 | #ifdef HAVE_SYS_SOCKET_H |
@@ -149,7 +158,7 @@ GNUNET_NETWORK_socket_box_native (int fd); | |||
149 | * @param doBlock blocking mode | 158 | * @param doBlock blocking mode |
150 | * @return #GNUNET_OK on success, #GNUNET_SYSERR on error | 159 | * @return #GNUNET_OK on success, #GNUNET_SYSERR on error |
151 | */ | 160 | */ |
152 | int | 161 | enum GNUNET_GenericReturnValue |
153 | GNUNET_NETWORK_socket_set_blocking (struct GNUNET_NETWORK_Handle *fd, | 162 | GNUNET_NETWORK_socket_set_blocking (struct GNUNET_NETWORK_Handle *fd, |
154 | int doBlock); | 163 | int doBlock); |
155 | 164 | ||
@@ -588,3 +597,7 @@ GNUNET_NETWORK_test_port_free (int ipproto, | |||
588 | #endif /* GNUNET_NETWORK_LIB_H */ | 597 | #endif /* GNUNET_NETWORK_LIB_H */ |
589 | 598 | ||
590 | /** @} */ /* end of group */ | 599 | /** @} */ /* end of group */ |
600 | |||
601 | /** @} */ /* end of group addition */ | ||
602 | |||
603 | /** @} */ /* end of group addition */ | ||