/**
- * Closure for #fragment_rows.
+ * Closure for #get_state_cb.
*/
struct GetStateContext {
const struct GNUNET_CRYPTO_EddsaPublicKey *channel_key;
* @param result the postgres result
* @param num_result the number of results in @a result
*/
-void get_state (void *cls,
+static void
+get_state_cb (void *cls,
PGresult *res,
unsigned int num_results)
{
if (0 > GNUNET_PQ_eval_prepared_multi_select (plugin->dbh,
stmt, params_select,
- &get_state, &gsc))
+ &get_state_cb, &gsc))
return GNUNET_SYSERR;
return gsc.ret; /* GNUNET_OK ?? */
}
if (0 > GNUNET_PQ_eval_prepared_multi_select (plugin->dbh,
stmt, params_select,
- &get_state, &gsc))
+ &get_state_cb, &gsc))
return GNUNET_SYSERR;
return gsc.ret; /* GNUNET_OK ?? */
}