diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-06-21 13:17:16 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-06-21 13:17:16 +0000 |
commit | 1732154b8c021e7ee0e34c28cf3b1a843454727a (patch) | |
tree | 3cb7fd79f409467c07d831ec055ebcdc8bfe61a2 /src/include/gnunet_my_lib.h | |
parent | 8919055de77f692ce3f0c1b9781fc9011de9cb6f (diff) | |
download | gnunet-1732154b8c021e7ee0e34c28cf3b1a843454727a.tar.gz gnunet-1732154b8c021e7ee0e34c28cf3b1a843454727a.zip |
towards fixing mysql plugin
Diffstat (limited to 'src/include/gnunet_my_lib.h')
-rw-r--r-- | src/include/gnunet_my_lib.h | 40 |
1 files changed, 21 insertions, 19 deletions
diff --git a/src/include/gnunet_my_lib.h b/src/include/gnunet_my_lib.h index e2ccee039..61fd6459f 100644 --- a/src/include/gnunet_my_lib.h +++ b/src/include/gnunet_my_lib.h | |||
@@ -359,32 +359,34 @@ GNUNET_MY_query_param_uint64 (const uint64_t *x); | |||
359 | #define GNUNET_MY_result_spec_auto_from_type(dst) GNUNET_MY_result_spec_fixed_size ((dst), sizeof (*(dst))) | 359 | #define GNUNET_MY_result_spec_auto_from_type(dst) GNUNET_MY_result_spec_fixed_size ((dst), sizeof (*(dst))) |
360 | 360 | ||
361 | 361 | ||
362 | /** | 362 | /** |
363 | * Variable-size result expected | 363 | * Variable-size result expected |
364 | * | 364 | * |
365 | * @param[out] dst where to store the result, allocated | 365 | * @param[out] dst where to store the result, allocated |
366 | * @param[out] sptr where to store the size of @a dst | 366 | * @param[out] sptr where to store the size of @a dst |
367 | * @return array entru for the result specification to use | 367 | * @return array entru for the result specification to use |
368 | */ | 368 | */ |
369 | struct GNUNET_MY_ResultSpec | 369 | struct GNUNET_MY_ResultSpec |
370 | GNUNET_MY_result_spec_variable_size (void **dst, | 370 | GNUNET_MY_result_spec_variable_size (void **dst, |
371 | size_t *ptr_size); | 371 | size_t *ptr_size); |
372 | |||
372 | /** | 373 | /** |
373 | * RSA public key expected | 374 | * RSA public key expected |
374 | * | 375 | * |
375 | * @param name name of the field in the table | 376 | * @param name name of the field in the table |
376 | * @param[out] rsa where to store the result | 377 | * @param[out] rsa where to store the result |
377 | * @return array entry for the result specification to use | 378 | * @return array entry for the result specification to use |
378 | */ | 379 | */ |
379 | struct GNUNET_MY_ResultSpec | 380 | struct GNUNET_MY_ResultSpec |
380 | GNUNET_MY_result_spec_rsa_public_key (struct GNUNET_CRYPTO_RsaPublicKey **rsa); | 381 | GNUNET_MY_result_spec_rsa_public_key (struct GNUNET_CRYPTO_RsaPublicKey **rsa); |
381 | 382 | ||
383 | |||
382 | /** | 384 | /** |
383 | * RSA signature expected. | 385 | * RSA signature expected. |
384 | * | 386 | * |
385 | * @param[out] sig where to store the result; | 387 | * @param[out] sig where to store the result; |
386 | * @return array entry for the result specification to use | 388 | * @return array entry for the result specification to use |
387 | */ | 389 | */ |
388 | struct GNUNET_MY_ResultSpec | 390 | struct GNUNET_MY_ResultSpec |
389 | GNUNET_MY_result_spec_rsa_signature (struct GNUNET_CRYPTO_RsaSignature **sig); | 391 | GNUNET_MY_result_spec_rsa_signature (struct GNUNET_CRYPTO_RsaSignature **sig); |
390 | 392 | ||