From 6785ca65ab48f1a29914c1784a24009964ec4720 Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Thu, 9 Feb 2017 16:49:56 +0100 Subject: ipcpd, lib: Report IPCP creation failure The IPCP will now respond with an ipcp_create_r message when it fails, informing the IRMd. Also adds some const qualifiers in the public headers and fixes some formatting in dev.c. --- include/ouroboros/fcntl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/ouroboros/fcntl.h') diff --git a/include/ouroboros/fcntl.h b/include/ouroboros/fcntl.h index ad968a1d..7ee4229e 100644 --- a/include/ouroboros/fcntl.h +++ b/include/ouroboros/fcntl.h @@ -41,8 +41,8 @@ int flow_set_flags(int fd, int flow_get_flags(int fd); -int flow_set_timeout(int fd, - struct timespec * to); +int flow_set_timeout(int fd, + const struct timespec * to); int flow_get_timeout(int fd, struct timespec * to); -- cgit v1.2.3