summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd/control.h
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2009-04-07 14:57:34 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2009-04-07 14:57:34 +0000
commit4414bfbcccd0f412374a68c641a98627511adfb9 (patch)
tree526648596a17d2482219d2be34df7f0b6652efd9 /usr.sbin/ospfd/control.h
parentf8354bc65dd07aa49ae2f37a946696e83a1d82ef (diff)
allow to specify an alternate control socket instead of /var/run/ospfd.sock.
this is required to run multiple instances of ospfd. ok claudio@
Diffstat (limited to 'usr.sbin/ospfd/control.h')
-rw-r--r--usr.sbin/ospfd/control.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ospfd/control.h b/usr.sbin/ospfd/control.h
index 91816e2ecf5..732005f6dd4 100644
--- a/usr.sbin/ospfd/control.h
+++ b/usr.sbin/ospfd/control.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: control.h,v 1.2 2005/05/25 13:41:43 claudio Exp $ */
+/* $OpenBSD: control.h,v 1.3 2009/04/07 14:57:33 reyk Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -38,12 +38,12 @@ struct ctl_conn {
struct imsgbuf ibuf;
};
-int control_init(void);
+int control_init(char *);
int control_listen(void);
void control_accept(int, short, void *);
void control_dispatch_imsg(int, short, void *);
int control_imsg_relay(struct imsg *);
-void control_cleanup(void);
+void control_cleanup(char *);
void session_socket_blockmode(int, enum blockmodes);