From f437a4a122614a01a1f97713ddc6e45c1011b86f Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Wed, 6 Jul 2016 11:33:25 +0200 Subject: irmd: Rename registry functions Reflects that the functions (dis)associate an application instance from/with a name and not remove it from the registry entirely. --- src/irmd/registry.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/irmd/registry.c') diff --git a/src/irmd/registry.c b/src/irmd/registry.c index a4e2fcfa..ae532d5a 100644 --- a/src/irmd/registry.c +++ b/src/irmd/registry.c @@ -491,9 +491,9 @@ int registry_remove_ap_auto(struct list_head * registry, } -struct reg_instance * registry_add_ap_instance(struct list_head * registry, - char * name, - pid_t api) +struct reg_instance * registry_add_api_name(struct list_head * registry, + pid_t api, + char * name) { struct reg_entry * e = NULL; struct reg_instance * i = NULL; @@ -534,9 +534,9 @@ struct reg_instance * registry_add_ap_instance(struct list_head * registry, return i; } -int registry_remove_ap_instance(struct list_head * registry, - char * name, - pid_t api) +int registry_remove_api_name(struct list_head * registry, + pid_t api, + char * name) { struct reg_entry * e = NULL; struct reg_instance * i = NULL; -- cgit v1.2.3