diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-04-15 18:39:31 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-04-15 18:39:31 +0000 |
commit | b1ac98abf9e700f03d5aa5f97c06dab605d6da06 (patch) | |
tree | c08a9624b4a539b85c5650bcf09528d13eb2d039 /sbin/isakmpd/attribute.h | |
parent | aeca45bc7d867b71e9600c7108674fae5db8ff9c (diff) |
partial move to KNF. More to come. This has happened because there
are a raft of source code auditors who are willing to help improve this
code only if this is done, and hey, isakmpd does need our standard
auditing process. ok ho hshoexer
Diffstat (limited to 'sbin/isakmpd/attribute.h')
-rw-r--r-- | sbin/isakmpd/attribute.h | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/sbin/isakmpd/attribute.h b/sbin/isakmpd/attribute.h index 86ebbad456c..29de52fb769 100644 --- a/sbin/isakmpd/attribute.h +++ b/sbin/isakmpd/attribute.h @@ -1,5 +1,5 @@ -/* $OpenBSD: attribute.h,v 1.4 2003/06/03 14:28:16 ho Exp $ */ -/* $EOM: attribute.h,v 1.2 1998/09/29 21:51:07 niklas Exp $ */ +/* $OpenBSD: attribute.h,v 1.5 2004/04/15 18:39:25 deraadt Exp $ */ +/* $EOM: attribute.h,v 1.2 1998/09/29 21:51:07 niklas Exp $ */ /* * Copyright (c) 1998 Niklas Hallqvist. All rights reserved. @@ -36,13 +36,14 @@ struct constant_map; -extern int attribute_map (u_int8_t *, size_t, - int (*) (u_int16_t, u_int8_t *, u_int16_t, void *), - void *); -extern u_int8_t *attribute_set_basic (u_int8_t *, u_int16_t, u_int16_t); -extern int attribute_set_constant (char *, char *, struct constant_map *, - int, u_int8_t **); -extern u_int8_t *attribute_set_var (u_int8_t *, u_int16_t, u_int8_t *, - u_int16_t); +extern int +attribute_map(u_int8_t *, size_t, + int (*) (u_int16_t, u_int8_t *, u_int16_t, void *), + void *); + extern u_int8_t *attribute_set_basic(u_int8_t *, u_int16_t, u_int16_t); + extern int attribute_set_constant(char *, char *, struct constant_map *, + int, u_int8_t **); + extern u_int8_t *attribute_set_var(u_int8_t *, u_int16_t, u_int8_t *, + u_int16_t); -#endif /* _ATTRIBUTE_H_ */ +#endif /* _ATTRIBUTE_H_ */ |