diff options
author | Gabor X Toth <*@tg-x.net> | 2013-08-27 07:29:52 +0000 |
---|---|---|
committer | Gabor X Toth <*@tg-x.net> | 2013-08-27 07:29:52 +0000 |
commit | d8ab7f76a1a9db992bc4295d1fddc0d1b324b55b (patch) | |
tree | 70e8ae8117f415a76cc968f3c717ef3203481872 /src/include/gnunet_env_lib.h | |
parent | 5a4c0bfabee2d251b31a7279f3bf6f81065442ce (diff) | |
download | gnunet-d8ab7f76a1a9db992bc4295d1fddc0d1b324b55b.tar.gz gnunet-d8ab7f76a1a9db992bc4295d1fddc0d1b324b55b.zip |
multicast/psyc/psycstore api: fix typos / type names
Diffstat (limited to 'src/include/gnunet_env_lib.h')
-rw-r--r-- | src/include/gnunet_env_lib.h | 34 |
1 files changed, 29 insertions, 5 deletions
diff --git a/src/include/gnunet_env_lib.h b/src/include/gnunet_env_lib.h index e086882ed..42d9590d5 100644 --- a/src/include/gnunet_env_lib.h +++ b/src/include/gnunet_env_lib.h | |||
@@ -26,6 +26,18 @@ | |||
26 | */ | 26 | */ |
27 | 27 | ||
28 | 28 | ||
29 | #ifndef GNUNET_ENV_LIB_H | ||
30 | #define GNUNET_ENV_LIB_H | ||
31 | |||
32 | #ifdef __cplusplus | ||
33 | extern "C" | ||
34 | { | ||
35 | #if 0 /* keep Emacsens' auto-indent happy */ | ||
36 | } | ||
37 | #endif | ||
38 | #endif | ||
39 | |||
40 | |||
29 | /** | 41 | /** |
30 | * Possible operations on PSYC state (persistent) and transient variables (per message). | 42 | * Possible operations on PSYC state (persistent) and transient variables (per message). |
31 | */ | 43 | */ |
@@ -85,7 +97,7 @@ struct GNUNET_ENV_Modifier { | |||
85 | /** | 97 | /** |
86 | * State operation. | 98 | * State operation. |
87 | */ | 99 | */ |
88 | GNUNET_ENV_Operator oper; | 100 | enum GNUNET_ENV_Operator oper; |
89 | 101 | ||
90 | /** | 102 | /** |
91 | * Variable name. | 103 | * Variable name. |
@@ -213,7 +225,7 @@ GNUNET_ENV_value_to_number (size_t size, const void *value, int64_t *number); | |||
213 | * @return #GNUNET_OK on success, #GNUNET_SYSERR if an error occurred (e.g. the value is invalid). | 225 | * @return #GNUNET_OK on success, #GNUNET_SYSERR if an error occurred (e.g. the value is invalid). |
214 | */ | 226 | */ |
215 | int | 227 | int |
216 | GNUNET_ENV_value_to_list (size_t size, const void *value, GNUNET_CONTAINER_SList **list); | 228 | GNUNET_ENV_value_to_list (size_t size, const void *value, struct GNUNET_CONTAINER_SList **list); |
217 | 229 | ||
218 | 230 | ||
219 | /** | 231 | /** |
@@ -226,7 +238,7 @@ GNUNET_ENV_value_to_list (size_t size, const void *value, GNUNET_CONTAINER_SList | |||
226 | * @return #GNUNET_OK on success, #GNUNET_SYSERR if an error occurred (e.g. the value is invalid). | 238 | * @return #GNUNET_OK on success, #GNUNET_SYSERR if an error occurred (e.g. the value is invalid). |
227 | */ | 239 | */ |
228 | int | 240 | int |
229 | GNUNET_ENV_value_to_dict (size_t size, const void *value, GNUNET_CONTAINER_MultiHashMap **dict); | 241 | GNUNET_ENV_value_to_dict (size_t size, const void *value, struct GNUNET_CONTAINER_MultiHashMap **dict); |
230 | 242 | ||
231 | 243 | ||
232 | /** | 244 | /** |
@@ -250,7 +262,7 @@ GNUNET_ENV_value_from_number (int64_t number, size_t *value_size); | |||
250 | * @return A newly allocated value or NULL on error. | 262 | * @return A newly allocated value or NULL on error. |
251 | */ | 263 | */ |
252 | void * | 264 | void * |
253 | GNUNET_ENV_value_from_list (GNUNET_CONTAINER_SList *list, size_t *value_size); | 265 | GNUNET_ENV_value_from_list (struct GNUNET_CONTAINER_SList *list, size_t *value_size); |
254 | 266 | ||
255 | 267 | ||
256 | /** | 268 | /** |
@@ -262,4 +274,16 @@ GNUNET_ENV_value_from_list (GNUNET_CONTAINER_SList *list, size_t *value_size); | |||
262 | * @return A newly allocated value or NULL on error. | 274 | * @return A newly allocated value or NULL on error. |
263 | */ | 275 | */ |
264 | void * | 276 | void * |
265 | GNUNET_ENV_value_from_dict (GNUNET_CONTAINER_MultiHashMap *dict, size_t *value_size); | 277 | GNUNET_ENV_value_from_dict (struct GNUNET_CONTAINER_MultiHashMap *dict, size_t *value_size); |
278 | |||
279 | |||
280 | #if 0 /* keep Emacsens' auto-indent happy */ | ||
281 | { | ||
282 | #endif | ||
283 | #ifdef __cplusplus | ||
284 | } | ||
285 | #endif | ||
286 | |||
287 | /* ifndef GNUNET_ENV_LIB_H */ | ||
288 | #endif | ||
289 | /* end of gnunet_env_lib.h */ | ||