summaryrefslogtreecommitdiff
path: root/pgsql.h
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2012-04-10 11:40:10 +0200
committerAndreas Baumann <abaumann@yahoo.com>2012-04-10 11:40:10 +0200
commit98bfb4f6aa76aa3a5242fe2db3d1fabc69a5bdae (patch)
treefc0de056cc219cb91d926ea632dd0d9532657480 /pgsql.h
parente269892480767b089cb999e87cc05becfdef26d2 (diff)
downloadpgfuse-98bfb4f6aa76aa3a5242fe2db3d1fabc69a5bdae.tar.gz
pgfuse-98bfb4f6aa76aa3a5242fe2db3d1fabc69a5bdae.tar.bz2
more cleanup
fixed lost connections after fuse reinitializations
Diffstat (limited to 'pgsql.h')
-rw-r--r--pgsql.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/pgsql.h b/pgsql.h
index cdf90bb..2d3d8f9 100644
--- a/pgsql.h
+++ b/pgsql.h
@@ -15,6 +15,9 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef PGSQL_H
+#define PGSQL_H
+
#include <sys/types.h> /* size_t */
#include <sys/stat.h> /* mode_t */
@@ -40,3 +43,5 @@ int psql_create_dir( PGconn *conn, const int parent_id, const char *path, const
int psql_write_buf( PGconn *conn, const int id, const char *path, const char *buf, const size_t len );
int psql_write_meta( PGconn *conn, const int id, const char *path, PgMeta meta );
+
+#endif