diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-09-30 08:00:03 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-09-30 08:00:03 +0000 |
commit | 3c30172adc85b322d08496adba7f46d95bafe9a3 (patch) | |
tree | 63310c7971e1a02674c9b8319a8601dded9594c8 /src/include/gnunet_postgres_lib.h | |
parent | c0ad94db1a125d7adbe806e060767b6258552abb (diff) | |
download | gnunet-3c30172adc85b322d08496adba7f46d95bafe9a3.tar.gz gnunet-3c30172adc85b322d08496adba7f46d95bafe9a3.zip |
-fix include
Diffstat (limited to 'src/include/gnunet_postgres_lib.h')
-rw-r--r-- | src/include/gnunet_postgres_lib.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/include/gnunet_postgres_lib.h b/src/include/gnunet_postgres_lib.h index 0307df50d..c20860681 100644 --- a/src/include/gnunet_postgres_lib.h +++ b/src/include/gnunet_postgres_lib.h | |||
@@ -31,7 +31,7 @@ | |||
31 | #define GNUNET_POSTGRES_LIB_H | 31 | #define GNUNET_POSTGRES_LIB_H |
32 | 32 | ||
33 | #include "gnunet_util_lib.h" | 33 | #include "gnunet_util_lib.h" |
34 | #include <libpq-fe.h> | 34 | #include <postgresql/libpq-fe.h> |
35 | 35 | ||
36 | #ifdef __cplusplus | 36 | #ifdef __cplusplus |
37 | extern "C" | 37 | extern "C" |
@@ -57,12 +57,12 @@ extern "C" | |||
57 | * @return #GNUNET_OK if the result is acceptable | 57 | * @return #GNUNET_OK if the result is acceptable |
58 | */ | 58 | */ |
59 | int | 59 | int |
60 | GNUNET_POSTGRES_check_result_ (PGconn *dbh, | 60 | GNUNET_POSTGRES_check_result_ (PGconn *dbh, |
61 | PGresult *ret, | 61 | PGresult *ret, |
62 | int expected_status, | 62 | int expected_status, |
63 | const char *command, | 63 | const char *command, |
64 | const char *args, | 64 | const char *args, |
65 | const char *filename, | 65 | const char *filename, |
66 | int line); | 66 | int line); |
67 | 67 | ||
68 | 68 | ||
@@ -91,9 +91,9 @@ GNUNET_POSTGRES_check_result_ (PGconn *dbh, | |||
91 | * @return #GNUNET_OK on success | 91 | * @return #GNUNET_OK on success |
92 | */ | 92 | */ |
93 | int | 93 | int |
94 | GNUNET_POSTGRES_exec_ (PGconn *dbh, | 94 | GNUNET_POSTGRES_exec_ (PGconn *dbh, |
95 | const char *sql, | 95 | const char *sql, |
96 | const char *filename, | 96 | const char *filename, |
97 | int line); | 97 | int line); |
98 | 98 | ||
99 | 99 | ||
@@ -119,11 +119,11 @@ GNUNET_POSTGRES_exec_ (PGconn *dbh, | |||
119 | * @return #GNUNET_OK on success | 119 | * @return #GNUNET_OK on success |
120 | */ | 120 | */ |
121 | int | 121 | int |
122 | GNUNET_POSTGRES_prepare_ (PGconn *dbh, | 122 | GNUNET_POSTGRES_prepare_ (PGconn *dbh, |
123 | const char *name, | 123 | const char *name, |
124 | const char *sql, | 124 | const char *sql, |
125 | int nparams, | 125 | int nparams, |
126 | const char *filename, | 126 | const char *filename, |
127 | int line); | 127 | int line); |
128 | 128 | ||
129 | 129 | ||