1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

pylibsmb: Add reparse tag definitions

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Volker Lendecke 2023-01-02 16:01:10 +01:00 committed by Ralph Boehme
parent ecdb225a7c
commit 8000c18837

View File

@ -2874,6 +2874,13 @@ MODULE_INIT_FUNC(libsmb_samba_cwrapper)
ADD_FLAGS(SYMLINK_TRUST_UNKNOWN);
ADD_FLAGS(SYMLINK_TRUST_MASK);
ADD_FLAGS(IO_REPARSE_TAG_SYMLINK);
ADD_FLAGS(IO_REPARSE_TAG_MOUNT_POINT);
ADD_FLAGS(IO_REPARSE_TAG_HSM);
ADD_FLAGS(IO_REPARSE_TAG_SIS);
ADD_FLAGS(IO_REPARSE_TAG_DFS);
ADD_FLAGS(IO_REPARSE_TAG_NFS);
#define ADD_STRING(val) PyModule_AddObject(m, #val, PyBytes_FromString(val))
ADD_STRING(SMB2_CREATE_TAG_EXTA);