diff options
author | dimitri staessens <[email protected]> | 2016-07-06 11:33:25 +0200 |
---|---|---|
committer | dimitri staessens <[email protected]> | 2016-07-06 11:33:25 +0200 |
commit | f437a4a122614a01a1f97713ddc6e45c1011b86f (patch) | |
tree | 8a56b6ea02498712bf51768583a889f4347a0a3b /src/irmd/registry.h | |
parent | 6c799af1b4cf86a32979d98034c560fb976a9caf (diff) | |
download | ouroboros-f437a4a122614a01a1f97713ddc6e45c1011b86f.tar.gz ouroboros-f437a4a122614a01a1f97713ddc6e45c1011b86f.zip |
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.
Diffstat (limited to 'src/irmd/registry.h')
-rw-r--r-- | src/irmd/registry.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/irmd/registry.h b/src/irmd/registry.h index 36b68dcd..83b9d393 100644 --- a/src/irmd/registry.h +++ b/src/irmd/registry.h @@ -130,12 +130,12 @@ int registry_add_ap_auto(struct list_head * registry, int registry_remove_ap_auto(struct list_head * registry, char * name, char * ap_name); -struct reg_instance * registry_add_ap_instance(struct list_head * registry, - char * name, - pid_t api); -int registry_remove_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); +int registry_remove_api_name(struct list_head * registry, + pid_t api, + char * name); struct reg_entry * registry_get_entry_by_name(struct list_head * registry, char * name); struct reg_entry * registry_get_entry_by_ap_name(struct list_head * registry, |