85 struct stat *s, |
85 struct stat *s, |
86 const char *iscollection, |
86 const char *iscollection, |
87 const char *lastmodified, |
87 const char *lastmodified, |
88 const char *creationdate, |
88 const char *creationdate, |
89 const char *contentlength); |
89 const char *contentlength); |
|
90 |
|
91 int pg_create_file( |
|
92 VFSContext *ctx, |
|
93 PgVFS *pg, |
|
94 const char *path, |
|
95 int64_t *new_resource_id, |
|
96 int64_t *res_parent_id, |
|
97 Oid *oid, |
|
98 const char **resource_name, |
|
99 struct stat *s); |
90 |
100 |
91 SYS_FILE pg_vfs_open(VFSContext *ctx, const char *path, int oflags); |
101 SYS_FILE pg_vfs_open(VFSContext *ctx, const char *path, int oflags); |
92 int pg_vfs_stat(VFSContext *ctx, const char *path, struct stat *buf); |
102 int pg_vfs_stat(VFSContext *ctx, const char *path, struct stat *buf); |
93 int pg_vfs_fstat(VFSContext *ctx, SYS_FILE fd, struct stat *buf); |
103 int pg_vfs_fstat(VFSContext *ctx, SYS_FILE fd, struct stat *buf); |
94 VFS_DIR pg_vfs_opendir(VFSContext *ctx, const char *path); |
104 VFS_DIR pg_vfs_opendir(VFSContext *ctx, const char *path); |