From bccc7ee2c6456cdab08884b826ed5ddc2faf2a54 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 27 May 2009 21:51:15 -0700 Subject: Add cli_posix_readlink() and a torture test for it. Jeremy. --- source3/include/proto.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'source3/include/proto.h') diff --git a/source3/include/proto.h b/source3/include/proto.h index a918c29aaa..342c1432eb 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -2341,6 +2341,15 @@ NTSTATUS cli_posix_symlink_recv(struct tevent_req *req); NTSTATUS cli_posix_symlink(struct cli_state *cli, const char *oldname, const char *newname); +struct tevent_req *cli_posix_readlink_send(TALLOC_CTX *mem_ctx, + struct event_context *ev, + struct cli_state *cli, + const char *fname, + size_t len); +NTSTATUS cli_posix_readlink_recv(struct tevent_req *req, struct cli_state *cli, + char *retpath, size_t len); +NTSTATUS cli_posix_readlink(struct cli_state *cli, const char *fname, + char *linkpath, size_t len); struct tevent_req *cli_posix_hardlink_send(TALLOC_CTX *mem_ctx, struct event_context *ev, struct cli_state *cli, -- cgit