aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_my_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-06-21 13:17:16 +0000
committerChristian Grothoff <christian@grothoff.org>2016-06-21 13:17:16 +0000
commit1732154b8c021e7ee0e34c28cf3b1a843454727a (patch)
tree3cb7fd79f409467c07d831ec055ebcdc8bfe61a2 /src/include/gnunet_my_lib.h
parent8919055de77f692ce3f0c1b9781fc9011de9cb6f (diff)
downloadgnunet-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.h40
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 */
369struct GNUNET_MY_ResultSpec 369struct GNUNET_MY_ResultSpec
370GNUNET_MY_result_spec_variable_size (void **dst, 370GNUNET_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 */
379struct GNUNET_MY_ResultSpec 380struct GNUNET_MY_ResultSpec
380GNUNET_MY_result_spec_rsa_public_key (struct GNUNET_CRYPTO_RsaPublicKey **rsa); 381GNUNET_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 */
388struct GNUNET_MY_ResultSpec 390struct GNUNET_MY_ResultSpec
389GNUNET_MY_result_spec_rsa_signature (struct GNUNET_CRYPTO_RsaSignature **sig); 391GNUNET_MY_result_spec_rsa_signature (struct GNUNET_CRYPTO_RsaSignature **sig);
390 392