summaryrefslogtreecommitdiffstats
path: root/src/responder/ifp/ifp_components.c
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2015-01-16 13:36:12 +0100
committerJakub Hrozek <jhrozek@redhat.com>2015-02-17 15:59:52 +0100
commit62ebed8582285bd24efba92b9a06366511507946 (patch)
tree877ca2ba8a90bc0e585b7c5102162b7cec994d29 /src/responder/ifp/ifp_components.c
parent4e5d19f659d8c545c4ed3c307c95cfe4f2ca33cb (diff)
downloadsssd-62ebed8582285bd24efba92b9a06366511507946.tar.gz
sssd-62ebed8582285bd24efba92b9a06366511507946.tar.xz
sssd-62ebed8582285bd24efba92b9a06366511507946.zip
IFP: simplify object path constant names
The number of interfaces will grow and in order to keep names of object path constant consistent it means that also their names will grow. The new naming schema is: /org/freedesktop/sssd/infopipe -> IFP_PATH_ / -> _ everything uppercase Example: /org/freedesktop/sssd/infopipe/Components/Responders -> IFP_PATH_COMPONENTS_RESPONDERS If the path contains a _TREE suffix, it represents the whole subtree. For example: IFP_PATH_DOMAINS_TREE is /org/freedesktop/sssd/infopipe/Domains/* Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'src/responder/ifp/ifp_components.c')
-rw-r--r--src/responder/ifp/ifp_components.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/responder/ifp/ifp_components.c b/src/responder/ifp/ifp_components.c
index 3d700f92e..b143d1e4f 100644
--- a/src/responder/ifp/ifp_components.c
+++ b/src/responder/ifp/ifp_components.c
@@ -34,9 +34,9 @@
#include "util/sss_config.h"
#endif
-#define PATH_MONITOR INFOPIPE_COMPONENT_PATH_PFX "/monitor"
-#define PATH_RESPONDERS INFOPIPE_COMPONENT_PATH_PFX "/Responders"
-#define PATH_BACKENDS INFOPIPE_COMPONENT_PATH_PFX "/Backends"
+#define PATH_MONITOR IFP_PATH_COMPONENTS "/monitor"
+#define PATH_RESPONDERS IFP_PATH_COMPONENTS "/Responders"
+#define PATH_BACKENDS IFP_PATH_COMPONENTS "/Backends"
enum component_type {
COMPONENT_MONITOR,