summaryrefslogtreecommitdiffstats
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-05-28 13:32:00 -0700
committerJeremy Allison <jra@samba.org>2009-05-28 13:32:00 -0700
commit656e86d5fa876131fc8e373f0c2100f4bef1cc26 (patch)
treeb8e8afc42f03e86430f6ad05371b0438379c288e /source3/include
parentfbca26923915a70031f561b198cfe2cc0d9c3aa6 (diff)
downloadsamba-656e86d5fa876131fc8e373f0c2100f4bef1cc26.tar.gz
samba-656e86d5fa876131fc8e373f0c2100f4bef1cc26.tar.xz
samba-656e86d5fa876131fc8e373f0c2100f4bef1cc26.zip
Make cli_posix_stat() async.
Jeremy.
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 60810cc9215..af68ae74a05 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -2374,7 +2374,15 @@ NTSTATUS cli_posix_getfacl(struct cli_state *cli,
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);
+struct tevent_req *cli_posix_stat_send(TALLOC_CTX *mem_ctx,
+ struct event_context *ev,
+ struct cli_state *cli,
+ const char *fname);
+NTSTATUS cli_posix_stat_recv(struct tevent_req *req,
+ SMB_STRUCT_STAT *sbuf);
+NTSTATUS cli_posix_stat(struct cli_state *cli,
+ const char *fname,
+ 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);
struct tevent_req *cli_rename_send(TALLOC_CTX *mem_ctx,