diff options
author | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-07-14 19:47:02 +0200 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-07-14 19:47:02 +0200 |
commit | 71956f22abec7bb15f6bfc52b4168ff85499eea1 (patch) | |
tree | 36340fda47cd84ada6fb1357c1c5c0677289f0e3 /include/ouroboros/dev.h | |
parent | 7ca7525221375996383951d90bbdca4ad995f965 (diff) | |
parent | d17c8a4924e0417d5385f933da1bcc75aad9b818 (diff) | |
download | ouroboros-71956f22abec7bb15f6bfc52b4168ff85499eea1.tar.gz ouroboros-71956f22abec7bb15f6bfc52b4168ff85499eea1.zip |
Merged in sandervrijders/ouroboros/be (pull request #172)
ipcpd: normal: Establish N-1 management flows
Diffstat (limited to 'include/ouroboros/dev.h')
-rw-r--r-- | include/ouroboros/dev.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/ouroboros/dev.h b/include/ouroboros/dev.h index 699973a3..eb779953 100644 --- a/include/ouroboros/dev.h +++ b/include/ouroboros/dev.h @@ -35,17 +35,19 @@ int ap_init(char * ap_name); void ap_fini(void); -/* Returns file descriptor (> 0) and client AE name */ +/* Returns file descriptor (> 0) and client AE name. */ int flow_accept(char ** ae_name); int flow_alloc_resp(int fd, int result); -/* Returns file descriptor */ +/* + * Returns file descriptor (> 0). + * On returning, qos will contain the actual supplied QoS. + */ int flow_alloc(char * dst_name, char * src_ae_name, struct qos_spec * qos); - -/* If flow is accepted returns a value > 0 */ int flow_alloc_res(int fd); + int flow_dealloc(int fd); int flow_cntl(int fd, int cmd, int oflags); |