diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2012-04-24 15:37:09 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2012-04-24 15:37:09 +0200 |
commit | c401cd5b5b571712cccc3ebd6e0978c269484703 (patch) | |
tree | f87d37951c569f6183265d2ae9b7d6ef1c6a6180 /pgsql.h | |
parent | 6fa1446a6d90479751f86d8c6ec449b8e70ddd30 (diff) | |
download | pgfuse-c401cd5b5b571712cccc3ebd6e0978c269484703.tar.gz pgfuse-c401cd5b5b571712cccc3ebd6e0978c269484703.tar.bz2 |
split get_meta function in two, one working with path, one with id
Diffstat (limited to 'pgsql.h')
-rw-r--r-- | pgsql.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -68,7 +68,11 @@ int psql_rollback( PGconn *conn ); /* --- the filesystem functions --- */ -int psql_get_meta( PGconn *conn, const char *path, PgMeta *meta ); +int psql_path_to_id( PGconn *conn, const char *path ); + +int psql_read_meta( PGconn *conn, const int id, const char *path, PgMeta *meta ); + +int psql_read_meta_from_path( PGconn *conn, const char *path, PgMeta *meta ); int psql_write_meta( PGconn *conn, const int id, const char *path, PgMeta meta ); |