diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-05-03 05:30:25 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-05-03 05:30:25 +0000 |
commit | 0cdac9e1cfdc299666cc5b89a43e5148bbcd2d2c (patch) | |
tree | 4056379b34e526e5cd6e98e95a00b61e5f39ed6c /src/include/gnunet_pq_lib.h | |
parent | 91c472ec6a6be7fd37ecd6b13674389431a02afb (diff) | |
download | gnunet-0cdac9e1cfdc299666cc5b89a43e5148bbcd2d2c.tar.gz gnunet-0cdac9e1cfdc299666cc5b89a43e5148bbcd2d2c.zip |
add support for string results from PQ
Diffstat (limited to 'src/include/gnunet_pq_lib.h')
-rw-r--r-- | src/include/gnunet_pq_lib.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/include/gnunet_pq_lib.h b/src/include/gnunet_pq_lib.h index fdb959aec..4e4139b43 100644 --- a/src/include/gnunet_pq_lib.h +++ b/src/include/gnunet_pq_lib.h | |||
@@ -331,6 +331,18 @@ GNUNET_PQ_result_spec_variable_size (const char *name, | |||
331 | 331 | ||
332 | 332 | ||
333 | /** | 333 | /** |
334 | * 0-terminated string expected. | ||
335 | * | ||
336 | * @param name name of the field in the table | ||
337 | * @param[out] dst where to store the result, allocated | ||
338 | * @return array entry for the result specification to use | ||
339 | */ | ||
340 | struct GNUNET_PQ_ResultSpec | ||
341 | GNUNET_PQ_result_spec_string (const char *name, | ||
342 | char **dst); | ||
343 | |||
344 | |||
345 | /** | ||
334 | * RSA public key expected. | 346 | * RSA public key expected. |
335 | * | 347 | * |
336 | * @param name name of the field in the table | 348 | * @param name name of the field in the table |