From bbe8e0bcf47022584f4d908adf52dec522f3d736 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 23 Jun 2011 16:49:17 +0200 Subject: s3: Add cli_symlink --- source3/libsmb/proto.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'source3/libsmb/proto.h') diff --git a/source3/libsmb/proto.h b/source3/libsmb/proto.h index 4d820d6bc6..a266f7cd41 100644 --- a/source3/libsmb/proto.h +++ b/source3/libsmb/proto.h @@ -860,4 +860,16 @@ bool symlink_reparse_buffer_parse( const uint8_t *src, size_t srclen, TALLOC_CTX *mem_ctx, char **psubstitute_name, char **pprint_name, uint32_t *pflags); +/* The following definitions come from libsmb/clisymlink.c */ + +struct tevent_req *cli_symlink_send(TALLOC_CTX *mem_ctx, + struct tevent_context *ev, + struct cli_state *cli, + const char *oldpath, + const char *newpath, + uint32_t flags); +NTSTATUS cli_symlink_recv(struct tevent_req *req); +NTSTATUS cli_symlink(struct cli_state *cli, const char *oldname, + const char *newname, uint32_t flags); + #endif /* _LIBSMB_PROTO_H_ */ -- cgit