diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1998-11-20 07:34:08 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1998-11-20 07:34:08 +0000 |
commit | eb4416d4df1aa88945ba6589b2ff66981feef9b3 (patch) | |
tree | bc480a59dd84037503a0af09a2ea731ef334b041 /sbin/isakmpd/constants.h | |
parent | dfb2717d72205a17c5cd0fd2fc618b4e581593b8 (diff) |
Add submaps to constant maps, and add a mechanism to the constant
description language to link maps.
Diffstat (limited to 'sbin/isakmpd/constants.h')
-rw-r--r-- | sbin/isakmpd/constants.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sbin/isakmpd/constants.h b/sbin/isakmpd/constants.h index 55cf9709390..dbf3d9bd7d4 100644 --- a/sbin/isakmpd/constants.h +++ b/sbin/isakmpd/constants.h @@ -1,5 +1,5 @@ -/* $OpenBSD: constants.h,v 1.3 1998/11/17 11:10:08 niklas Exp $ */ -/* $EOM: constants.h,v 1.4 1998/08/28 23:04:28 niklas Exp $ */ +/* $OpenBSD: constants.h,v 1.4 1998/11/20 07:34:06 niklas Exp $ */ +/* $EOM: constants.h,v 1.5 1998/11/20 07:17:01 niklas Exp $ */ /* * Copyright (c) 1998 Niklas Hallqvist. All rights reserved. @@ -40,8 +40,10 @@ struct constant_map { int value; char *name; + struct constant_map *link; }; +struct constant_map *constant_link_lookup (struct constant_map *, int); extern char *constant_lookup (struct constant_map *, int); extern char *constant_name (struct constant_map *, int); extern char *constant_name_maps (struct constant_map **, int); |