summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/transport.h
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>2000-08-03 07:23:56 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>2000-08-03 07:23:56 +0000
commitce8796f26ce10c5598254cdcf11bfd3f98827ff5 (patch)
treecec3183126c0b8222884b93160aaf613caae52ae /sbin/isakmpd/transport.h
parent49e61af75313509e1da983bde30eca4cbdb0017a (diff)
udp.c: Merge with EOM 1.50
transport.h: Merge with EOM 1.16 author: provos provide transport dependent ID decoding; hope indentation is right now ;)
Diffstat (limited to 'sbin/isakmpd/transport.h')
-rw-r--r--sbin/isakmpd/transport.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/sbin/isakmpd/transport.h b/sbin/isakmpd/transport.h
index a51caf5cf48..4a8aba5eb6b 100644
--- a/sbin/isakmpd/transport.h
+++ b/sbin/isakmpd/transport.h
@@ -1,5 +1,5 @@
-/* $OpenBSD: transport.h,v 1.6 1999/04/19 19:52:59 niklas Exp $ */
-/* $EOM: transport.h,v 1.15 1999/04/11 15:07:36 ho Exp $ */
+/* $OpenBSD: transport.h,v 1.7 2000/08/03 07:23:55 niklas Exp $ */
+/* $EOM: transport.h,v 1.16 2000/07/17 18:57:59 provos Exp $ */
/*
* Copyright (c) 1998, 1999 Niklas Hallqvist. All rights reserved.
@@ -93,6 +93,11 @@ struct transport_vtbl {
* address info. XXX Why not size_t * instead of int *?
*/
void (*get_src) (struct transport *, struct sockaddr **, int *);
+
+ /*
+ * Return a string with decoded src and dst information
+ */
+ char *(*decode_ids) (struct transport *);
};
struct transport {