summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/transport.h
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-08-23 23:11:03 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-08-23 23:11:03 +0000
commit609abece174c8f84050581cc4d1e6f64a6fd3542 (patch)
tree9551f089442c2a25c54855eb794e6e484e182b15 /sbin/isakmpd/transport.h
parente601ba7a689f45e7c735cb0c5e77c95742c922ed (diff)
Reinitialize transports on SIGUP.
Diffstat (limited to 'sbin/isakmpd/transport.h')
-rw-r--r--sbin/isakmpd/transport.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/sbin/isakmpd/transport.h b/sbin/isakmpd/transport.h
index 54a891b9feb..f0e64182539 100644
--- a/sbin/isakmpd/transport.h
+++ b/sbin/isakmpd/transport.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: transport.h,v 1.9 2001/08/11 05:29:23 angelos Exp $ */
+/* $OpenBSD: transport.h,v 1.10 2001/08/23 23:11:02 angelos Exp $ */
/* $EOM: transport.h,v 1.16 2000/07/17 18:57:59 provos Exp $ */
/*
@@ -61,6 +61,9 @@ struct transport_vtbl {
/* Create a transport instance of this method. */
struct transport *(*create) (char *);
+ /* Reinitialize specific transport. */
+ void (*reinit) (void);
+
/* Remove a transport instance of this method. */
void (*remove) (struct transport *);
@@ -134,5 +137,5 @@ extern void transport_reference (struct transport *);
extern void transport_release (struct transport *);
extern void transport_report (void);
extern void transport_send_messages (fd_set *);
-
+extern void transport_reinit (void);
#endif /* _TRANSPORT_H_ */