summaryrefslogtreecommitdiff
path: root/pgsql.h
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2012-04-13 10:07:46 +0200
committerAndreas Baumann <abaumann@yahoo.com>2012-04-13 10:07:46 +0200
commitf873bf42db96ca494f8c0fff7838c30b84b1849e (patch)
treea1dc3a7a426d354765386684a9d89582d056d0fd /pgsql.h
parent24d3992039adc8f346c481084fdcfd1eea19eca7 (diff)
downloadpgfuse-f873bf42db96ca494f8c0fff7838c30b84b1849e.tar.gz
pgfuse-f873bf42db96ca494f8c0fff7838c30b84b1849e.tar.bz2
added unlink for files and corrected rmdir
Diffstat (limited to 'pgsql.h')
-rw-r--r--pgsql.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/pgsql.h b/pgsql.h
index 32803b1..703a933 100644
--- a/pgsql.h
+++ b/pgsql.h
@@ -42,6 +42,8 @@ int psql_create_dir( PGconn *conn, const int parent_id, const char *path, const
int psql_delete_dir( PGconn *conn, const int id, const char *path );
+int psql_delete_file( PGconn *conn, const int id, const char *path );
+
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 );