diff options
author | David Disseldorp <ddiss@samba.org> | 2015-01-21 18:16:56 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2015-01-22 00:57:10 +0100 |
commit | 3d48fc96739bde631f8197aa313a81808481adf3 (patch) | |
tree | af5aafa14639b80a23a69ac7880b42af8dd9e665 /source4/dsdb/tests/python/sam.py | |
parent | f72fa6390b73f47a57033282335786c24664a3f8 (diff) | |
download | samba-3d48fc96739bde631f8197aa313a81808481adf3.tar.gz samba-3d48fc96739bde631f8197aa313a81808481adf3.tar.xz samba-3d48fc96739bde631f8197aa313a81808481adf3.zip |
vfs_snapper: add DBus string encoding and decoding helpers
Snapper uses the following mechanism for encoding and decoding strings
used in DBus traffic:
Characters above 127 (0x7F - ASCII DEL) must be encoded hexadecimal as
"\x??". As a consequence "\" must be encoded as "\\".
This change adds string encoding and decoding helpers to vfs_snapper.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=11055
Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4/dsdb/tests/python/sam.py')
0 files changed, 0 insertions, 0 deletions