summaryrefslogtreecommitdiff
path: root/source3/libsmb/proto.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-06-30 15:06:46 +0200
committerVolker Lendecke <vl@samba.org>2011-07-03 11:31:29 +0200
commitc1094a8cb0dd502b8c1b140ad3a90ecc450b1b11 (patch)
tree46f944af8d2274d1cd110a4bb7090a09fa73d6cb /source3/libsmb/proto.h
parent61d0afeab30d4f7a40e3ad89b97942027aee6287 (diff)
downloadsamba-c1094a8cb0dd502b8c1b140ad3a90ecc450b1b11.tar.gz
samba-c1094a8cb0dd502b8c1b140ad3a90ecc450b1b11.tar.bz2
samba-c1094a8cb0dd502b8c1b140ad3a90ecc450b1b11.zip
s3: Add cli_readlink
Diffstat (limited to 'source3/libsmb/proto.h')
-rw-r--r--source3/libsmb/proto.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/source3/libsmb/proto.h b/source3/libsmb/proto.h
index a266f7cd41..89b1ecd9b6 100644
--- a/source3/libsmb/proto.h
+++ b/source3/libsmb/proto.h
@@ -872,4 +872,15 @@ NTSTATUS cli_symlink_recv(struct tevent_req *req);
NTSTATUS cli_symlink(struct cli_state *cli, const char *oldname,
const char *newname, uint32_t flags);
+struct tevent_req *cli_readlink_send(TALLOC_CTX *mem_ctx,
+ struct tevent_context *ev,
+ struct cli_state *cli,
+ const char *fname);
+NTSTATUS cli_readlink_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx,
+ char **psubstitute_name, char **pprint_name,
+ uint32_t *pflags);
+NTSTATUS cli_readlink(struct cli_state *cli, const char *fname,
+ TALLOC_CTX *mem_ctx, char **psubstitute_name,
+ char **pprint_name, uint32_t *pflags);
+
#endif /* _LIBSMB_PROTO_H_ */