diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-08-15 21:46:35 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-08-15 21:46:35 +0000 |
commit | 502af2167f7c218366666ca4944bd7cc54b5b19a (patch) | |
tree | a91fec5cc9769d260640bd91c6633cb9cf395524 /src/include/gnunet_service_lib.h | |
parent | 03af5a603b7cc53432249d5854cd412aa90dde0d (diff) | |
download | gnunet-502af2167f7c218366666ca4944bd7cc54b5b19a.tar.gz gnunet-502af2167f7c218366666ca4944bd7cc54b5b19a.zip |
indentation
Diffstat (limited to 'src/include/gnunet_service_lib.h')
-rw-r--r-- | src/include/gnunet_service_lib.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/include/gnunet_service_lib.h b/src/include/gnunet_service_lib.h index 883ad462f..fca2ff329 100644 --- a/src/include/gnunet_service_lib.h +++ b/src/include/gnunet_service_lib.h | |||
@@ -61,9 +61,9 @@ extern "C" | |||
61 | */ | 61 | */ |
62 | int | 62 | int |
63 | GNUNET_SERVICE_get_server_addresses (const char *serviceName, | 63 | GNUNET_SERVICE_get_server_addresses (const char *serviceName, |
64 | const struct GNUNET_CONFIGURATION_Handle *cfg, | 64 | const struct GNUNET_CONFIGURATION_Handle |
65 | struct sockaddr ***addrs, | 65 | *cfg, struct sockaddr ***addrs, |
66 | socklen_t **addr_lens); | 66 | socklen_t ** addr_lens); |
67 | 67 | ||
68 | 68 | ||
69 | /** | 69 | /** |
@@ -84,18 +84,18 @@ typedef void (*GNUNET_SERVICE_Main) (void *cls, | |||
84 | * Options for the service (bitmask). | 84 | * Options for the service (bitmask). |
85 | */ | 85 | */ |
86 | enum GNUNET_SERVICE_Options | 86 | enum GNUNET_SERVICE_Options |
87 | { | 87 | { |
88 | /** | 88 | /** |
89 | * Use defaults. | 89 | * Use defaults. |
90 | */ | 90 | */ |
91 | GNUNET_SERVICE_OPTION_NONE = 0, | 91 | GNUNET_SERVICE_OPTION_NONE = 0, |
92 | 92 | ||
93 | /** | 93 | /** |
94 | * Do not trigger server shutdown on signals, allow for the user | 94 | * Do not trigger server shutdown on signals, allow for the user |
95 | * to terminate the server explicitly when needed. | 95 | * to terminate the server explicitly when needed. |
96 | */ | 96 | */ |
97 | GNUNET_SERVICE_OPTION_MANUAL_SHUTDOWN = 1 | 97 | GNUNET_SERVICE_OPTION_MANUAL_SHUTDOWN = 1 |
98 | }; | 98 | }; |
99 | 99 | ||
100 | 100 | ||
101 | /** | 101 | /** |
@@ -111,12 +111,12 @@ enum GNUNET_SERVICE_Options | |||
111 | * @return GNUNET_SYSERR on error, GNUNET_OK | 111 | * @return GNUNET_SYSERR on error, GNUNET_OK |
112 | * if we shutdown nicely | 112 | * if we shutdown nicely |
113 | */ | 113 | */ |
114 | int GNUNET_SERVICE_run (int argc, | 114 | int |
115 | char *const *argv, | 115 | GNUNET_SERVICE_run (int argc, |
116 | const char *serviceName, | 116 | char *const *argv, |
117 | enum GNUNET_SERVICE_Options opt, | 117 | const char *serviceName, |
118 | GNUNET_SERVICE_Main task, | 118 | enum GNUNET_SERVICE_Options opt, |
119 | void *task_cls); | 119 | GNUNET_SERVICE_Main task, void *task_cls); |
120 | 120 | ||
121 | 121 | ||
122 | struct GNUNET_SERVICE_Context; | 122 | struct GNUNET_SERVICE_Context; |