update tests to use new MQ API
[oweals/gnunet.git] / src / include / gnunet_pq_lib.h
index fdb959aecfae345e80839cb500cf15a4ab8a52ac..4e4139b431de402451dfc0fc016b063439b55da9 100644 (file)
@@ -330,6 +330,18 @@ GNUNET_PQ_result_spec_variable_size (const char *name,
                                     size_t *sptr);
 
 
+/**
+ * 0-terminated string expected.
+ *
+ * @param name name of the field in the table
+ * @param[out] dst where to store the result, allocated
+ * @return array entry for the result specification to use
+ */
+struct GNUNET_PQ_ResultSpec
+GNUNET_PQ_result_spec_string (const char *name,
+                              char **dst);
+
+
 /**
  * RSA public key expected.
  *