src/server/plugins/postgresql/vfs.h

branch
webdav
changeset 305
4db64fe30588
parent 304
33911d44111d
child 311
e676ed461b5b
equal deleted inserted replaced
304:33911d44111d 305:4db64fe30588
70 /* 70 /*
71 * Resolve a path into a parent_id and resource name 71 * Resolve a path into a parent_id and resource name
72 * 72 *
73 * Only absolute paths are supported, therefore path[0] must be '/' 73 * Only absolute paths are supported, therefore path[0] must be '/'
74 * 74 *
75 * If the resource is not found, ctx->vfs_errno is set to ENOENT 75 * If the resource is not found, res_errno is set to ENOENT
76 */ 76 */
77 int pg_resolve_path( 77 int pg_resolve_path(
78 VFSContext *ctx, 78 PGconn *connection,
79 const char *path, 79 const char *path,
80 int64_t *parent_id, 80 int64_t *parent_id,
81 int64_t *resource_id, 81 int64_t *resource_id,
82 Oid *oid, 82 Oid *oid,
83 const char **resource_name, 83 const char **resource_name,
84 WSBool *iscollection, 84 WSBool *iscollection,
85 struct stat *s); 85 struct stat *s,
86 int *res_errno);
86 87
87 void pg_set_stat( 88 void pg_set_stat(
88 struct stat *s, 89 struct stat *s,
89 const char *iscollection, 90 const char *iscollection,
90 const char *lastmodified, 91 const char *lastmodified,

mercurial