summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@intec.ugent.be>2016-08-10 17:50:45 +0200
committerdimitri staessens <dimitri.staessens@intec.ugent.be>2016-08-10 19:10:38 +0200
commit11c6be30491ebe4e41380f48a271c57bcff4b043 (patch)
treea920a9b345e2760d0b425de6678f03c1a4669cc8 /include
parent26b20744a441705accbe550aa0b996f8601a9404 (diff)
downloadouroboros-11c6be30491ebe4e41380f48a271c57bcff4b043.tar.gz
ouroboros-11c6be30491ebe4e41380f48a271c57bcff4b043.zip
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.
Diffstat (limited to 'include')
-rw-r--r--include/ouroboros/dev.h3
1 files changed, 3 insertions, 0 deletions
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);