#define GNUNET_POSTGRES_LIB_H
#include "gnunet_util_lib.h"
-#include <libpq-fe.h>
+#include <postgresql/libpq-fe.h>
#ifdef __cplusplus
extern "C"
* @return #GNUNET_OK if the result is acceptable
*/
int
-GNUNET_POSTGRES_check_result_ (PGconn *dbh,
+GNUNET_POSTGRES_check_result_ (PGconn *dbh,
PGresult *ret,
int expected_status,
- const char *command,
+ const char *command,
const char *args,
- const char *filename,
+ const char *filename,
int line);
* @return #GNUNET_OK on success
*/
int
-GNUNET_POSTGRES_exec_ (PGconn *dbh,
- const char *sql,
- const char *filename,
+GNUNET_POSTGRES_exec_ (PGconn *dbh,
+ const char *sql,
+ const char *filename,
int line);
* @return #GNUNET_OK on success
*/
int
-GNUNET_POSTGRES_prepare_ (PGconn *dbh,
- const char *name,
+GNUNET_POSTGRES_prepare_ (PGconn *dbh,
+ const char *name,
const char *sql,
int nparams,
- const char *filename,
+ const char *filename,
int line);