diff options
| author | Pavel Březina <pbrezina@redhat.com> | 2014-12-11 11:01:57 +0100 |
|---|---|---|
| committer | Jakub Hrozek <jhrozek@redhat.com> | 2015-01-23 21:29:27 +0100 |
| commit | 894f09f146f0c9cda9e0f7dfe1916519d73dde72 (patch) | |
| tree | 4b43904c6cf451a166c9ffabe28c39697a182a7d /src/responder | |
| parent | d87e960c17d7598781cf032d06ba03a3ecadbfa2 (diff) | |
sbus: use 'path/*' to represent a D-Bus fallback
Use 'path/*' instead of 'path*' since it better describes what
we are actually doing i.e. registering a message handler for a
subtree.
Although D-Bus fallback will invoke a message handler for both
'path' and 'path/subtree' object paths it does not make usually
sence to support the same interfaces for both parent and it
children.
This commit also renames related functions to better describe
what are they doing.
Note: the tilda in comments is used to suppress -Wcomment warning
Preparation for:
https://fedorahosted.org/sssd/ticket/2339
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'src/responder')
| -rw-r--r-- | src/responder/ifp/ifp_components.h | 2 | ||||
| -rw-r--r-- | src/responder/ifp/ifp_domains.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/responder/ifp/ifp_components.h b/src/responder/ifp/ifp_components.h index 49f1294c..6c630044 100644 --- a/src/responder/ifp/ifp_components.h +++ b/src/responder/ifp/ifp_components.h @@ -25,7 +25,7 @@ #include "responder/ifp/ifp_private.h" #define INFOPIPE_COMPONENT_PATH_PFX "/org/freedesktop/sssd/infopipe/Components" -#define INFOPIPE_COMPONENT_PATH INFOPIPE_COMPONENT_PATH_PFX "*" +#define INFOPIPE_COMPONENT_PATH INFOPIPE_COMPONENT_PATH_PFX "/*" #define INFOPIPE_BACKEND_PATH INFOPIPE_COMPONENT_PATH_PFX "/Backends*" diff --git a/src/responder/ifp/ifp_domains.h b/src/responder/ifp/ifp_domains.h index d6ef1a04..d6ed6c73 100644 --- a/src/responder/ifp/ifp_domains.h +++ b/src/responder/ifp/ifp_domains.h @@ -26,7 +26,7 @@ #include "responder/ifp/ifp_private.h" #define INFOPIPE_DOMAIN_PATH_PFX "/org/freedesktop/sssd/infopipe/Domains" -#define INFOPIPE_DOMAIN_PATH INFOPIPE_DOMAIN_PATH_PFX"*" +#define INFOPIPE_DOMAIN_PATH INFOPIPE_DOMAIN_PATH_PFX"/*" /* org.freedesktop.sssd.infopipe */ |
