diff options
author | Joris Vink <joris@cvs.openbsd.org> | 2008-02-01 18:10:27 +0000 |
---|---|---|
committer | Joris Vink <joris@cvs.openbsd.org> | 2008-02-01 18:10:27 +0000 |
commit | f0620517e3dee6fc00f55cec28c61d7ecd81d992 (patch) | |
tree | 2d39a1b91401b9e0a70455afa5e9401866767615 /usr.bin/cvs/config.h | |
parent | af82a991d0327114da1b142bbfae5e57aa558095 (diff) |
introduce cvs_read_config() which will be used as a general
handler to open and read configuration files in CVSROOT/
change cvs_parse_configfile() to use cvs_read_config() instead;
ok tobias@
Diffstat (limited to 'usr.bin/cvs/config.h')
-rw-r--r-- | usr.bin/cvs/config.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/cvs/config.h b/usr.bin/cvs/config.h index 1c56e0d04ec..04b5cede216 100644 --- a/usr.bin/cvs/config.h +++ b/usr.bin/cvs/config.h @@ -1,4 +1,4 @@ -/* $OpenBSD: config.h,v 1.1 2006/05/27 18:04:46 joris Exp $ */ +/* $OpenBSD: config.h,v 1.2 2008/02/01 18:10:26 joris Exp $ */ /* * Copyright (c) 2006 Joris Vink <joris@openbsd.org> * @@ -19,5 +19,8 @@ #define CONFIG_H void cvs_parse_configfile(void); +void cvs_read_config(char *name, void (*cb)(char *)); + +void config_parse_line(char *); #endif |