aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_postgres_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-09-30 08:00:03 +0000
committerChristian Grothoff <christian@grothoff.org>2016-09-30 08:00:03 +0000
commit3c30172adc85b322d08496adba7f46d95bafe9a3 (patch)
tree63310c7971e1a02674c9b8319a8601dded9594c8 /src/include/gnunet_postgres_lib.h
parentc0ad94db1a125d7adbe806e060767b6258552abb (diff)
downloadgnunet-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.h20
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
37extern "C" 37extern "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 */
59int 59int
60GNUNET_POSTGRES_check_result_ (PGconn *dbh, 60GNUNET_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 */
93int 93int
94GNUNET_POSTGRES_exec_ (PGconn *dbh, 94GNUNET_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 */
121int 121int
122GNUNET_POSTGRES_prepare_ (PGconn *dbh, 122GNUNET_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