diff options
author | Volker Lendecke <vl@samba.org> | 2011-06-23 16:49:17 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-06-24 21:24:17 +0200 |
commit | bbe8e0bcf47022584f4d908adf52dec522f3d736 (patch) | |
tree | 4fb1ac282651980f5fcc026e3faee462c1f1aae1 /source3/libsmb/proto.h | |
parent | 57a02077c917d6deefce716f32b5a5bf30227f07 (diff) | |
download | samba-bbe8e0bcf47022584f4d908adf52dec522f3d736.tar.gz samba-bbe8e0bcf47022584f4d908adf52dec522f3d736.tar.bz2 samba-bbe8e0bcf47022584f4d908adf52dec522f3d736.zip |
s3: Add cli_symlink
Diffstat (limited to 'source3/libsmb/proto.h')
-rw-r--r-- | source3/libsmb/proto.h | 12 |
1 files changed, 12 insertions, 0 deletions
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_ */ |