summaryrefslogtreecommitdiff
path: root/src/irmd/registry.c
diff options
context:
space:
mode:
authorSander Vrijders <[email protected]>2016-07-06 16:05:34 +0200
committerSander Vrijders <[email protected]>2016-07-06 16:05:34 +0200
commit972c1413933c5e2ef884a7ebbad066404192eec2 (patch)
tree8a56b6ea02498712bf51768583a889f4347a0a3b /src/irmd/registry.c
parent6c799af1b4cf86a32979d98034c560fb976a9caf (diff)
parentf437a4a122614a01a1f97713ddc6e45c1011b86f (diff)
downloadouroboros-972c1413933c5e2ef884a7ebbad066404192eec2.tar.gz
ouroboros-972c1413933c5e2ef884a7ebbad066404192eec2.zip
Merged in dstaesse/ouroboros/be-registry-refactor (pull request #158)
irmd: Rename registry functions
Diffstat (limited to 'src/irmd/registry.c')
-rw-r--r--src/irmd/registry.c12
1 files changed, 6 insertions, 6 deletions
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;