summaryrefslogtreecommitdiff
path: root/pgsql.h
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2012-04-12 20:11:06 +0200
committerAndreas Baumann <abaumann@yahoo.com>2012-04-12 20:11:06 +0200
commit10c8b7ed06f223697dea3293706daff56be2da8e (patch)
treeb3636ed3757216f298c2c3b52bf09098f9cef8dc /pgsql.h
parentd4b001331944baae47ae7ed1fd389601cff3a16e (diff)
downloadpgfuse-10c8b7ed06f223697dea3293706daff56be2da8e.tar.gz
pgfuse-10c8b7ed06f223697dea3293706daff56be2da8e.tar.bz2
implemented 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 2d3d8f9..32803b1 100644
--- a/pgsql.h
+++ b/pgsql.h
@@ -40,6 +40,8 @@ int psql_readdir( PGconn *conn, const int parent_id, void *buf, fuse_fill_dir_t
int psql_create_dir( PGconn *conn, const int parent_id, const char *path, const char *new_dir, mode_t mode );
+int psql_delete_dir( 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 );