From f873bf42db96ca494f8c0fff7838c30b84b1849e Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 13 Apr 2012 10:07:46 +0200 Subject: added unlink for files and corrected rmdir --- pgsql.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pgsql.h') 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 ); -- cgit v1.2.3-54-g00ecf