diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1998-11-20 07:38:31 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1998-11-20 07:38:31 +0000 |
commit | 3b26e616b18a92442cb9be54959f0909c578e2c0 (patch) | |
tree | 5e560e0c0bd3fcb50ea8b594c813b97bb7d4dfe6 /sbin/isakmpd/conf.h | |
parent | 68cb4b53b221cb3023845612808db7ad1210f1a0 (diff) |
Add iterator for tags in a section. Add range checking for numbers.
Diffstat (limited to 'sbin/isakmpd/conf.h')
-rw-r--r-- | sbin/isakmpd/conf.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/sbin/isakmpd/conf.h b/sbin/isakmpd/conf.h index a0d41ff7dbd..a503fe3a7f1 100644 --- a/sbin/isakmpd/conf.h +++ b/sbin/isakmpd/conf.h @@ -1,5 +1,5 @@ -/* $OpenBSD: conf.h,v 1.3 1998/11/17 11:10:08 niklas Exp $ */ -/* $EOM: conf.h,v 1.4 1998/08/28 23:04:26 niklas Exp $ */ +/* $OpenBSD: conf.h,v 1.4 1998/11/20 07:38:30 niklas Exp $ */ +/* $EOM: conf.h,v 1.5 1998/11/20 07:19:22 niklas Exp $ */ /* * Copyright (c) 1998 Niklas Hallqvist. All rights reserved. @@ -54,12 +54,14 @@ struct conf_list { extern char *conf_path; -extern void conf_init (void); +extern int conf_decode_base64 (u_int8_t *out, u_int32_t *len, u_char *buf); extern void conf_free_list (struct conf_list *); +extern int conf_get_line (FILE *, char *, u_int32_t); extern struct conf_list *conf_get_list (char *, char *); +extern struct conf_list *conf_get_tag_list (char *); extern int conf_get_num (char *, char *); extern char *conf_get_str (char *, char *); -extern int conf_get_line (FILE *, char *, u_int32_t); -extern int conf_decode_base64 (u_int8_t *out, u_int32_t *len, u_char *buf); +extern void conf_init (void); +extern int conf_match_num (char *, char *, int); #endif /* _CONF_H_ */ |