-GNUNET_MY_extract_result (MYSQL_BIND * result,
- struct GNUNET_MY_QueryParam *qp,
- struct GNUNET_MY_ResultSpec *specs,
- int row);
+GNUNET_MY_extract_result (struct GNUNET_MYSQL_StatementHandle *sh,
+ struct GNUNET_MY_ResultSpec *specs);
+
+
+/**
+ * Free all memory that was allocated in @a qp during
+ * #GNUNET_MY_exect_prepared().
+ *
+ * @param qp query specification to clean up
+ * @param qbind mysql query
+ */
+void
+GNUNET_MY_cleanup_query (struct GNUNET_MY_QueryParam *qp,
+ MYSQL_BIND *qbind);
+
+
+/**
+ * Free all memory that was allocated in @a rs during
+ * #GNUNET_MY_extract_result().
+ *
+ * @param rs reult specification to clean up
+ */
+void
+GNUNET_MY_cleanup_result (struct GNUNET_MY_ResultSpec *rs);
+