summaryrefslogtreecommitdiff
path: root/src/lib/dev.c
diff options
context:
space:
mode:
authordimitri staessens <[email protected]>2016-10-25 12:57:15 +0200
committerdimitri staessens <[email protected]>2016-10-25 12:57:15 +0200
commitcce79395b5a9f75d3fe1b14bf5df44795d680ca4 (patch)
treeec6df2d106018595f6f9abc6b09c9606c4715a5c /src/lib/dev.c
parentf33f8f79ee6fd6efe6c868be61ab3addf2ec2730 (diff)
downloadouroboros-cce79395b5a9f75d3fe1b14bf5df44795d680ca4.tar.gz
ouroboros-cce79395b5a9f75d3fe1b14bf5df44795d680ca4.zip
lib: API for accepting flows with QoS
Diffstat (limited to 'src/lib/dev.c')
-rw-r--r--src/lib/dev.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/dev.c b/src/lib/dev.c
index 94fbd394..7fc2e6b3 100644
--- a/src/lib/dev.c
+++ b/src/lib/dev.c
@@ -134,6 +134,7 @@ struct flow {
struct shm_flow_set * set;
int port_id;
int oflags;
+ enum qos_cube qos;
pid_t api;
@@ -315,12 +316,14 @@ void ap_fini()
}
-int flow_accept(char ** ae_name)
+int flow_accept(char ** ae_name, struct qos_spec * qos)
{
irm_msg_t msg = IRM_MSG__INIT;
irm_msg_t * recv_msg = NULL;
int fd = -1;
+ (void) qos;
+
msg.code = IRM_MSG_CODE__IRM_FLOW_ACCEPT;
msg.has_api = true;