summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordimitri staessens <[email protected]>2017-04-10 16:19:29 +0000
committerSander Vrijders <[email protected]>2017-04-10 16:19:29 +0000
commitc020c3b8a81c44e6a67313e502deb6c000d1b577 (patch)
tree772a1f8ad0872b4d5c4ca0367a346a611fa022ed /include
parentb796ca07a6068b8582b1f39b08eca3582e37dd4f (diff)
parenta3d550ff972121641562d375f75bcf188fc7fe59 (diff)
downloadouroboros-c020c3b8a81c44e6a67313e502deb6c000d1b577.tar.gz
ouroboros-c020c3b8a81c44e6a67313e502deb6c000d1b577.zip
Merged in dstaesse/ouroboros/be-timeo-const (pull request #474)
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);