aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_client_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_client_lib.h')
-rw-r--r--src/include/gnunet_client_lib.h19
1 files changed, 18 insertions, 1 deletions
diff --git a/src/include/gnunet_client_lib.h b/src/include/gnunet_client_lib.h
index 2ecd38b04..ab4c7d088 100644
--- a/src/include/gnunet_client_lib.h
+++ b/src/include/gnunet_client_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 Christian Grothoff 29 * @author Christian Grothoff
23 * 30 *
24 * @file 31 * @file
@@ -32,6 +39,10 @@
32 * @{ 39 * @{
33 */ 40 */
34 41
42#if !defined (__GNUNET_UTIL_LIB_H_INSIDE__)
43#error "Only <gnunet_util_lib.h> can be included directly."
44#endif
45
35#ifndef GNUNET_CLIENT_LIB_H 46#ifndef GNUNET_CLIENT_LIB_H
36#define GNUNET_CLIENT_LIB_H 47#define GNUNET_CLIENT_LIB_H
37 48
@@ -43,6 +54,7 @@ extern "C"
43#endif 54#endif
44#endif 55#endif
45 56
57
46#include "gnunet_mq_lib.h" 58#include "gnunet_mq_lib.h"
47 59
48 60
@@ -67,7 +79,8 @@ GNUNET_CLIENT_test (const struct GNUNET_CONFIGURATION_Handle *cfg,
67 * Create a message queue to connect to a GNUnet service. 79 * Create a message queue to connect to a GNUnet service.
68 * If handlers are specified, receive messages from the connection. 80 * If handlers are specified, receive messages from the connection.
69 * 81 *
70 * @param connection the client connection 82 * @param cfg our configuration
83 * @param service_name name of the service to connect to
71 * @param handlers handlers for receiving messages, can be NULL 84 * @param handlers handlers for receiving messages, can be NULL
72 * @param error_handler error handler 85 * @param error_handler error handler
73 * @param error_handler_cls closure for the @a error_handler 86 * @param error_handler_cls closure for the @a error_handler
@@ -93,4 +106,8 @@ GNUNET_CLIENT_connect (const struct GNUNET_CONFIGURATION_Handle *cfg,
93 106
94/** @} */ /* end of group client */ 107/** @} */ /* end of group client */
95 108
109/** @} */ /* end of group addition */
110
111/** @} */ /* end of group addition */
112
96/* end of gnunet_client_lib.h */ 113/* end of gnunet_client_lib.h */