/*
This file is part of GNUnet
- (C) 2012 Christian Grothoff (and other contributing authors)
+ Copyright (C) 2012 Christian Grothoff (and other contributing authors)
GNUnet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
#define GNUNET_POSTGRES_LIB_H
#include "gnunet_util_lib.h"
-#include <postgresql/libpq-fe.h>
+#include <libpq-fe.h>
#ifdef __cplusplus
extern "C"
*/
int
GNUNET_POSTGRES_check_result_ (PGconn *dbh, PGresult * ret, int expected_status,
- const char *command, const char *args,
- const char *filename, int line);
+ const char *command, const char *args,
+ const char *filename, int line);
/**
*/
int
GNUNET_POSTGRES_prepare_ (PGconn *dbh, const char *name, const char *sql,
- int nparams,
- const char *filename, int line);
+ int nparams,
+ const char *filename, int line);
/**
*/
PGconn *
GNUNET_POSTGRES_connect (const struct GNUNET_CONFIGURATION_Handle *cfg,
- const char *section);
+ const char *section);
/**
*/
int
GNUNET_POSTGRES_delete_by_rowid (PGconn *dbh,
- const char *stmt,
- uint32_t rowid);
+ const char *stmt,
+ uint32_t rowid);