summaryrefslogtreecommitdiff
path: root/usr.sbin/ldpd/control.h
diff options
context:
space:
mode:
authorRenato Westphal <renato@cvs.openbsd.org>2017-03-03 23:30:58 +0000
committerRenato Westphal <renato@cvs.openbsd.org>2017-03-03 23:30:58 +0000
commit0019a22123f7c0dc97d4cbec810e849674afe0b9 (patch)
tree892ffd1c4584dba01caa75d3ade8503dc77a89dc /usr.sbin/ldpd/control.h
parentca4c2bd031f6a1ed7093ab27da6c87a45fffc02f (diff)
Allow to specify an alternate control socket.
This is required to run multiple instances of ldpd. OK claudio@
Diffstat (limited to 'usr.sbin/ldpd/control.h')
-rw-r--r--usr.sbin/ldpd/control.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ldpd/control.h b/usr.sbin/ldpd/control.h
index 400c695c94e..f4f5525707d 100644
--- a/usr.sbin/ldpd/control.h
+++ b/usr.sbin/ldpd/control.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: control.h,v 1.8 2016/05/23 19:11:42 renato Exp $ */
+/* $OpenBSD: control.h,v 1.9 2017/03/03 23:30:57 renato Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -30,9 +30,9 @@ TAILQ_HEAD(ctl_conns, ctl_conn);
extern struct ctl_conns ctl_conns;
-int control_init(void);
+int control_init(char *);
int control_listen(void);
-void control_cleanup(void);
+void control_cleanup(char *);
int control_imsg_relay(struct imsg *);
#endif /* _CONTROL_H_ */