summaryrefslogtreecommitdiffstats
path: root/src/responder/ifp/ifp_iface.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_iface.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_iface.c')
-rw-r--r--src/responder/ifp/ifp_iface.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/responder/ifp/ifp_iface.c b/src/responder/ifp/ifp_iface.c
index ffa3c46b7..c82a2e65d 100644
--- a/src/responder/ifp/ifp_iface.c
+++ b/src/responder/ifp/ifp_iface.c
@@ -82,9 +82,9 @@ struct iface_map {
};
static struct iface_map iface_map[] = {
- { INFOPIPE_PATH, &iface_ifp.vtable },
- { INFOPIPE_DOMAIN_PATH, &iface_ifp_domains.vtable },
- { INFOPIPE_COMPONENT_PATH, &iface_ifp_components.vtable },
+ { IFP_PATH, &iface_ifp.vtable },
+ { IFP_PATH_DOMAINS_TREE, &iface_ifp_domains.vtable },
+ { IFP_PATH_COMPONENTS_TREE, &iface_ifp_components.vtable },
{ NULL, NULL },
};