diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2014-05-11 16:15:24 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-05-22 17:16:01 +0200 |
commit | 1a546ae8250c6dbcff0ce775fc811529e02c360c (patch) | |
tree | 3f7bab044826e198804619b1e7d4c6641ab79e23 /src/sbus/sssd_dbus_request.c | |
parent | 35d420c5d4609b6e999920e38a9b2ec40a0e1ac4 (diff) | |
download | sssd-1a546ae8250c6dbcff0ce775fc811529e02c360c.tar.gz sssd-1a546ae8250c6dbcff0ce775fc811529e02c360c.tar.xz sssd-1a546ae8250c6dbcff0ce775fc811529e02c360c.zip |
IFP: Add utility functions to escape and unescape object paths
D-Bus spec says:
Each element must only contain the ASCII characters "[A-Z][a-z][0-9]_"
This patch adds two utility functions to escape raw input into format
suitable for DBus and conversely transform escaped paths back into raw
paths.
Reviewed-by: Stef Walter <stefw@redhat.com>
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Diffstat (limited to 'src/sbus/sssd_dbus_request.c')
0 files changed, 0 insertions, 0 deletions