diff options
author | Volker Lendecke <vl@samba.org> | 2011-06-23 15:33:58 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-06-24 21:24:17 +0200 |
commit | 829974c940c39cc65b0f725f0e5a38917fc61254 (patch) | |
tree | 9dc0492a294e473f61e23ff647c9de6fd3f8500a /source3/libsmb/proto.h | |
parent | a52f17995177ca8751400570cc8aabc7e06ade72 (diff) | |
download | samba-829974c940c39cc65b0f725f0e5a38917fc61254.tar.gz samba-829974c940c39cc65b0f725f0e5a38917fc61254.tar.bz2 samba-829974c940c39cc65b0f725f0e5a38917fc61254.zip |
s3: Add symlink reparse point marshalling routines
Diffstat (limited to 'source3/libsmb/proto.h')
-rw-r--r-- | source3/libsmb/proto.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source3/libsmb/proto.h b/source3/libsmb/proto.h index f88a891d58..4d820d6bc6 100644 --- a/source3/libsmb/proto.h +++ b/source3/libsmb/proto.h @@ -851,4 +851,13 @@ bool client_is_signing_allowed(struct cli_state *cli); bool client_is_signing_mandatory(struct cli_state *cli); void cli_set_signing_negotiated(struct cli_state *cli); +/* The following definitions come from libsmb/reparse_symlink.c */ + +bool symlink_reparse_buffer_marshall( + const char *substitute, const char *printname, uint32_t flags, + TALLOC_CTX *mem_ctx, uint8_t **pdst, size_t *pdstlen); +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); + #endif /* _LIBSMB_PROTO_H_ */ |