diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-07-07 13:42:52 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-07-07 13:42:52 +0200 |
commit | 2906241b6a21d6009a0d195199f3a08e8f4d4e2a (patch) | |
tree | c9946fd81f343008877b41fc8471d13d0051f48a /src/include/gnunet_sq_lib.h | |
parent | 374e3cf6de48f26f67cf93091a2bfbdab019a6eb (diff) | |
download | gnunet-2906241b6a21d6009a0d195199f3a08e8f4d4e2a.tar.gz gnunet-2906241b6a21d6009a0d195199f3a08e8f4d4e2a.zip |
major modification to datacache to store route options (and clean up the API)
Diffstat (limited to 'src/include/gnunet_sq_lib.h')
-rw-r--r-- | src/include/gnunet_sq_lib.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/gnunet_sq_lib.h b/src/include/gnunet_sq_lib.h index e89ded07e..51713e755 100644 --- a/src/include/gnunet_sq_lib.h +++ b/src/include/gnunet_sq_lib.h | |||
@@ -194,7 +194,7 @@ GNUNET_SQ_query_param_uint64 (const uint64_t *x); | |||
194 | * @param params parameters to the statement | 194 | * @param params parameters to the statement |
195 | * @return #GNUNET_OK on success, #GNUNET_SYSERR on error | 195 | * @return #GNUNET_OK on success, #GNUNET_SYSERR on error |
196 | */ | 196 | */ |
197 | int | 197 | enum GNUNET_GenericReturnValue |
198 | GNUNET_SQ_bind (sqlite3_stmt *stmt, | 198 | GNUNET_SQ_bind (sqlite3_stmt *stmt, |
199 | const struct GNUNET_SQ_QueryParam *params); | 199 | const struct GNUNET_SQ_QueryParam *params); |
200 | 200 | ||
@@ -498,7 +498,7 @@ GNUNET_SQ_make_prepare (const char *sql, | |||
498 | * @param ps array of statements to prepare | 498 | * @param ps array of statements to prepare |
499 | * @return #GNUNET_OK on success | 499 | * @return #GNUNET_OK on success |
500 | */ | 500 | */ |
501 | int | 501 | enum GNUNET_GenericReturnValue |
502 | GNUNET_SQ_prepare (sqlite3 *dbh, | 502 | GNUNET_SQ_prepare (sqlite3 *dbh, |
503 | const struct GNUNET_SQ_PrepareStatement *ps); | 503 | const struct GNUNET_SQ_PrepareStatement *ps); |
504 | 504 | ||
@@ -520,7 +520,7 @@ struct GNUNET_SQ_ExecuteStatement | |||
520 | /** | 520 | /** |
521 | * Should we ignore errors? | 521 | * Should we ignore errors? |
522 | */ | 522 | */ |
523 | int ignore_errors; | 523 | bool ignore_errors; |
524 | }; | 524 | }; |
525 | 525 | ||
526 | 526 | ||
@@ -560,7 +560,7 @@ GNUNET_SQ_make_try_execute (const char *sql); | |||
560 | * @return #GNUNET_OK on success (modulo statements where errors can be ignored) | 560 | * @return #GNUNET_OK on success (modulo statements where errors can be ignored) |
561 | * #GNUNET_SYSERR on error | 561 | * #GNUNET_SYSERR on error |
562 | */ | 562 | */ |
563 | int | 563 | enum GNUNET_GenericReturnValue |
564 | GNUNET_SQ_exec_statements (sqlite3 *dbh, | 564 | GNUNET_SQ_exec_statements (sqlite3 *dbh, |
565 | const struct GNUNET_SQ_ExecuteStatement *es); | 565 | const struct GNUNET_SQ_ExecuteStatement *es); |
566 | 566 | ||