diff options
author | Jeremy Allison <jra@samba.org> | 2009-05-28 13:05:50 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-05-28 13:05:50 -0700 |
commit | d74e42e0eca0bb15c12fa51f125d905a6cee5db5 (patch) | |
tree | 24b10da26975ecd002d4a6bbacc0447aafece304 /source3/include | |
parent | de4c13ca682671d46d9d6512f84670c88b2e7837 (diff) | |
download | samba-d74e42e0eca0bb15c12fa51f125d905a6cee5db5.tar.gz samba-d74e42e0eca0bb15c12fa51f125d905a6cee5db5.tar.bz2 samba-d74e42e0eca0bb15c12fa51f125d905a6cee5db5.zip |
Make getfacl async.
Jeremy.
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 2217b3315b..60810cc921 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -2361,7 +2361,19 @@ NTSTATUS cli_posix_hardlink(struct cli_state *cli, const char *newname); uint32_t unix_perms_to_wire(mode_t perms); mode_t wire_perms_to_unix(uint32_t perms); -bool cli_unix_getfacl(struct cli_state *cli, const char *name, size_t *prb_size, char **retbuf); +struct tevent_req *cli_posix_getfacl_send(TALLOC_CTX *mem_ctx, + struct event_context *ev, + struct cli_state *cli, + const char *fname); +NTSTATUS cli_posix_getfacl_recv(struct tevent_req *req, + TALLOC_CTX *mem_ctx, + size_t *prb_size, + char **retbuf); +NTSTATUS cli_posix_getfacl(struct cli_state *cli, + const char *fname, + TALLOC_CTX *mem_ctx, + size_t *prb_size, + char **retbuf); bool cli_unix_stat(struct cli_state *cli, const char *name, SMB_STRUCT_STAT *sbuf); bool cli_unix_chmod(struct cli_state *cli, const char *fname, mode_t mode); bool cli_unix_chown(struct cli_state *cli, const char *fname, uid_t uid, gid_t gid); |