From 11c6be30491ebe4e41380f48a271c57bcff4b043 Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Wed, 10 Aug 2016 17:50:45 +0200 Subject: lib, irmd: Bind AP instances to AP_subsets This call will allow grouping AP instances of a certain AP together which are configured identically. Adds the bind operation to dev and updates the applications to make use of this call. Flow_alloc is now only called with the pid and doesn't send the apn anymore. --- include/ouroboros/dev.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/ouroboros/dev.h b/include/ouroboros/dev.h index d5fb744b..a0885b70 100644 --- a/include/ouroboros/dev.h +++ b/include/ouroboros/dev.h @@ -36,6 +36,9 @@ int ap_init(char * ap_name); void ap_fini(void); +/* This call binds an instance to a specific subset of applications */ +int api_bind(char * ap_subset); + /* Returns file descriptor (> 0) and client AE name. */ int flow_accept(char ** ae_name); int flow_alloc_resp(int fd, int result); -- cgit v1.2.3