summaryrefslogtreecommitdiff
path: root/usr.sbin/ldpd/control.h
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2010-04-15 15:04:24 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2010-04-15 15:04:24 +0000
commitc1819b1f795527a74b4694473fc2f99536b19b8e (patch)
tree63653833f6340c4e6ff929030c819724735d96d4 /usr.sbin/ldpd/control.h
parent212b26394887ee3c41510adacde36bc5c0ebfa21 (diff)
Instead of having three ways of setting fds non-blocking use
session_socket_blockmode() everywhere. Additionally make two fatal() distinguishable. OK michele@
Diffstat (limited to 'usr.sbin/ldpd/control.h')
-rw-r--r--usr.sbin/ldpd/control.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/usr.sbin/ldpd/control.h b/usr.sbin/ldpd/control.h
index 76a9b41afee..7468b636500 100644
--- a/usr.sbin/ldpd/control.h
+++ b/usr.sbin/ldpd/control.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: control.h,v 1.2 2009/06/06 08:09:43 pyr Exp $ */
+/* $OpenBSD: control.h,v 1.3 2010/04/15 15:04:23 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -28,11 +28,6 @@ struct {
int fd;
} control_state;
-enum blockmodes {
- BM_NORMAL,
- BM_NONBLOCK
-};
-
struct ctl_conn {
TAILQ_ENTRY(ctl_conn) entry;
struct imsgev iev;
@@ -45,6 +40,4 @@ void control_dispatch_imsg(int, short, void *);
int control_imsg_relay(struct imsg *);
void control_cleanup(void);
-void session_socket_blockmode(int, enum blockmodes);
-
#endif /* _CONTROL_H_ */