summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@ugent.be>2017-04-10 12:34:02 +0200
committerdimitri staessens <dimitri.staessens@ugent.be>2017-04-10 12:36:45 +0200
commit14044c0ef96871583851c3e9a89a0e31163acde3 (patch)
tree07eb4a5446751892c5694efff7ce60817ed75359 /include
parent23ffb733017a791ffec43b4031e0b64ce122153d (diff)
downloadouroboros-14044c0ef96871583851c3e9a89a0e31163acde3.tar.gz
ouroboros-14044c0ef96871583851c3e9a89a0e31163acde3.zip
lib: Make timeout for flow allocation const
Diffstat (limited to 'include')
-rw-r--r--include/ouroboros/dev.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/ouroboros/dev.h b/include/ouroboros/dev.h
index 4984736c..31c681db 100644
--- a/include/ouroboros/dev.h
+++ b/include/ouroboros/dev.h
@@ -35,13 +35,13 @@ int ap_init(const char * ap_name);
void ap_fini(void);
/* Returns flow descriptor, qs updates to supplied QoS. */
-int flow_alloc(const char * dst_name,
- qosspec_t * qs,
- struct timespec * timeo);
+int flow_alloc(const char * dst_name,
+ qosspec_t * qs,
+ const struct timespec * timeo);
/* Returns flow descriptor, qs updates to supplied QoS. */
-int flow_accept(qosspec_t * qs,
- struct timespec * timeo);
+int flow_accept(qosspec_t * qs,
+ const struct timespec * timeo);
int flow_dealloc(int fd);