mirror of
https://github.com/haiwen/seafile.git
synced 2025-01-07 03:17:13 +08:00
c67a4341e4
Conflicts: daemon/repo-mgr.c daemon/sync-mgr.c daemon/sync-mgr.h
21 lines
418 B
C
21 lines
418 B
C
#ifndef SEAF_SET_PERM_H
|
|
#define SEAF_SET_PERM_H
|
|
|
|
enum SeafPathPerm {
|
|
SEAF_PATH_PERM_UNKNOWN = 0,
|
|
SEAF_PATH_PERM_RO,
|
|
SEAF_PATH_PERM_RW,
|
|
};
|
|
typedef enum SeafPathPerm SeafPathPerm;
|
|
|
|
int
|
|
seaf_set_path_permission (const char *path, SeafPathPerm perm, gboolean recursive);
|
|
|
|
int
|
|
seaf_unset_path_permission (const char *path, gboolean recursive);
|
|
|
|
SeafPathPerm
|
|
seaf_get_path_permission (const char *path);
|
|
|
|
#endif
|