diff options
author | Gabor X Toth <*@tg-x.net> | 2013-09-16 04:59:05 +0000 |
---|---|---|
committer | Gabor X Toth <*@tg-x.net> | 2013-09-16 04:59:05 +0000 |
commit | f78e9753a91497f1deb5e20d10868c27ab4a6013 (patch) | |
tree | f49653367e00fd4b611ec6ec281144d4568bd111 /src/include/gnunet_env_lib.h | |
parent | fbae7143d25a258b9dfabefa9ca3956e9228cb0e (diff) | |
download | gnunet-f78e9753a91497f1deb5e20d10868c27ab4a6013.tar.gz gnunet-f78e9753a91497f1deb5e20d10868c27ab4a6013.zip |
PSYCstore service and API implementation
Diffstat (limited to 'src/include/gnunet_env_lib.h')
-rw-r--r-- | src/include/gnunet_env_lib.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/include/gnunet_env_lib.h b/src/include/gnunet_env_lib.h index 42d9590d5..0a7e195be 100644 --- a/src/include/gnunet_env_lib.h +++ b/src/include/gnunet_env_lib.h | |||
@@ -203,6 +203,26 @@ GNUNET_ENV_var_get_type (char *name); | |||
203 | 203 | ||
204 | 204 | ||
205 | /** | 205 | /** |
206 | * Perform an operation on a variable. | ||
207 | * | ||
208 | * @param name Name of variable. | ||
209 | * @param current_value Current value of variable. | ||
210 | * @param current_value_size Size of @a current_value. | ||
211 | * @param oper Operator. | ||
212 | * @param args Arguments for the operation. | ||
213 | * @param args_size Size of @a args. | ||
214 | * @param return_value Return value. | ||
215 | * @param return_value_size Size of @a return_value. | ||
216 | * | ||
217 | * @return #GNUNET_OK on success, else #GNUNET_SYSERR | ||
218 | */ | ||
219 | int | ||
220 | GNUNET_ENV_operation (char *name, void *current_value, size_t current_value_size, | ||
221 | enum GNUNET_ENV_Operator oper, void *args, size_t args_size, | ||
222 | void **return_value, size_t *return_value_size); | ||
223 | |||
224 | |||
225 | /** | ||
206 | * Get the variable's value as an integer. | 226 | * Get the variable's value as an integer. |
207 | * | 227 | * |
208 | * @param size Size of value. | 228 | * @param size Size of value. |