diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-05-26 10:09:03 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-05-26 10:09:03 +0000 |
commit | fd4db43fe74e67f83b7013c7b98f97bb14d9b028 (patch) | |
tree | 07edd9a9d303629c2acd6e9d09860d6716273f54 /src/my/my.c | |
parent | 732081dcd1eec1f10f7b9a0c8be2f10f73d84f68 (diff) |
sketch envisioned API
Diffstat (limited to 'src/my/my.c')
-rw-r--r-- | src/my/my.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/my/my.c b/src/my/my.c index 886f0c6f67..1ab4a64dbd 100644 --- a/src/my/my.c +++ b/src/my/my.c @@ -108,15 +108,20 @@ GNUNET_MY_exec_prepared (struct GNUNET_MYSQL_Context *mc, #GNUNET_SYSERR if a result was invalid */ int -GNUNET_MY_extract_result (MYSQL_BIND * result, +GNUNET_MY_extract_result (struct GNUNET_MYSQL_StatementHandle *sh, struct GNUNET_MY_QueryParam *qp, struct GNUNET_MY_ResultSpec *rs, int row) { + MYSQL_BIND * result; unsigned int i; int had_null = GNUNET_NO; int ret; + MYSQL_STMT *stmt; + stmt = GNUNET_MYSQL_statement_get_stmt (NULL /* FIXME */, sh); + // result = mysql_get_result (stmt); + result = NULL; for (i = 0 ; NULL != rs[i].conv ; i++) { struct GNUNET_MY_ResultSpec *spec; |