libsmb: Introduce "struct symlink_reparse_struct"
authorVolker Lendecke <vl@samba.org>
Sun, 24 Oct 2021 13:24:42 +0000 (15:24 +0200)
committerJeremy Allison <jra@samba.org>
Thu, 11 Nov 2021 19:08:37 +0000 (19:08 +0000)
commit5823634b46ef7c1ef959916dd427656e11f76e61
tree498829e5433567e7b17d08633fc33060c9188dac
parent58c8289b2ff8bf3a413e82f1d4dc05ab10a6e2d6
libsmb: Introduce "struct symlink_reparse_struct"

Simplify symlink_reparse_buffer_parse() slightly, failure cleanup
becomes simpler with that, and this struct will be useful elsewhere

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/libsmb/clisymlink.c
source3/libsmb/reparse_symlink.c
source3/libsmb/reparse_symlink.h