diff options
author | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2004-06-26 06:07:04 +0000 |
---|---|---|
committer | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2004-06-26 06:07:04 +0000 |
commit | aada1f29a94fc6875bf68829865906683a6697b5 (patch) | |
tree | 5c1fdcc6c1fc540fd2b5036218c26b4931eec3ea /sbin/isakmpd/monitor.h | |
parent | 765bffe505b88993ee28536233b1f65b871c7458 (diff) |
Narrow down privsep interface. Move pf_key_v2_open() to monitor.
Work in progress.
ok ho@
Diffstat (limited to 'sbin/isakmpd/monitor.h')
-rw-r--r-- | sbin/isakmpd/monitor.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sbin/isakmpd/monitor.h b/sbin/isakmpd/monitor.h index fb7332f9420..caea4ff052f 100644 --- a/sbin/isakmpd/monitor.h +++ b/sbin/isakmpd/monitor.h @@ -1,4 +1,4 @@ -/* $OpenBSD: monitor.h,v 1.10 2004/06/25 00:58:39 hshoexer Exp $ */ +/* $OpenBSD: monitor.h,v 1.11 2004/06/26 06:07:03 hshoexer Exp $ */ /* * Copyright (c) 2003 Håkan Olsson. All rights reserved. @@ -40,6 +40,7 @@ enum monitor_reqtypes { MONITOR_UI_INIT, + MONITOR_PFKEY_OPEN, MONITOR_GET_FD, MONITOR_GET_SOCKET, MONITOR_SETSOCKOPT, @@ -79,6 +80,7 @@ int monitor_closedir(struct monitor_dirents *); void monitor_init_done(void); void monitor_ui_init(void); +int monitor_pf_key_v2_open(void); void monitor_exit(int); #else /* !USE_PRIVSEP */ @@ -96,6 +98,7 @@ void monitor_exit(int); #define monitor_ui_init ui_init #define monitor_exit exit +#define monitor_pf_key_v2_open pf_key_v2_open #endif /* USE_PRIVSEP */ #endif /* _MONITOR_H_ */ |