summaryrefslogtreecommitdiff
path: root/usr.sbin/ldpd/control.h
diff options
context:
space:
mode:
authorRenato Westphal <renato@cvs.openbsd.org>2016-05-23 18:55:22 +0000
committerRenato Westphal <renato@cvs.openbsd.org>2016-05-23 18:55:22 +0000
commit2a70268000d85df755837c9e48ee7423c839ee75 (patch)
tree67683dade7ac2736ce4822eb97661b0ad31c0095 /usr.sbin/ldpd/control.h
parentebae18186cf17f2f810c98c06ed0ea36692fc552 (diff)
Assorted fixes and small cleanup.
Nothing really interesting here.
Diffstat (limited to 'usr.sbin/ldpd/control.h')
-rw-r--r--usr.sbin/ldpd/control.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/ldpd/control.h b/usr.sbin/ldpd/control.h
index 70d6ae855ec..bd6911c9f36 100644
--- a/usr.sbin/ldpd/control.h
+++ b/usr.sbin/ldpd/control.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: control.h,v 1.5 2016/05/23 17:43:42 renato Exp $ */
+/* $OpenBSD: control.h,v 1.6 2016/05/23 18:55:21 renato Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -27,6 +27,9 @@ struct ctl_conn {
TAILQ_ENTRY(ctl_conn) entry;
struct imsgev iev;
};
+TAILQ_HEAD(ctl_conns, ctl_conn);
+
+extern struct ctl_conns ctl_conns;
int control_init(void);
int control_listen(void);