diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_pq_lib.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/include/taler_pq_lib.h b/src/include/taler_pq_lib.h index f6f64178a..d31ecf84c 100644 --- a/src/include/taler_pq_lib.h +++ b/src/include/taler_pq_lib.h @@ -133,7 +133,7 @@ enum TALER_PQ_ResultFormat /** * We have a currency amount. - * Data points to a `struct TALER_AmountNBO`, size is not used. + * Data points to a `struct TALER_AmountNBO`, size only used for checking. */ TALER_PQ_RF_AMOUNT_NBO }; @@ -252,6 +252,16 @@ TALER_PQ_extract_result (PGresult *result, /** + * Free all memory that was allocated in @a rs during + * #TALER_PQ_extract_result(). + * + * @param rs reult specification to clean up + */ +void +TALER_PQ_cleanup_result (struct TALER_PQ_ResultSpec *rs); + + +/** * Extract a currency amount from a query result according to the * given specification. * |