diff options
author | Joris Vink <joris@cvs.openbsd.org> | 2008-02-02 19:32:29 +0000 |
---|---|---|
committer | Joris Vink <joris@cvs.openbsd.org> | 2008-02-02 19:32:29 +0000 |
commit | 0428996fc892b62a88c3acfad14745d1b7abb409 (patch) | |
tree | cf83632f3749be1814986ce44247b74cef8d689e /usr.bin/cvs/config.h | |
parent | aafd8f818bad4f10b411084fc1e47d8bf1614e73 (diff) |
initial CVSROOT/modules support, only does aliases at the moment (-a).
"modules.c, hurray!" xsa@, ok tobias@
Diffstat (limited to 'usr.bin/cvs/config.h')
-rw-r--r-- | usr.bin/cvs/config.h | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/usr.bin/cvs/config.h b/usr.bin/cvs/config.h index 04b5cede216..17e22a56902 100644 --- a/usr.bin/cvs/config.h +++ b/usr.bin/cvs/config.h @@ -1,4 +1,4 @@ -/* $OpenBSD: config.h,v 1.2 2008/02/01 18:10:26 joris Exp $ */ +/* $OpenBSD: config.h,v 1.3 2008/02/02 19:32:28 joris Exp $ */ /* * Copyright (c) 2006 Joris Vink <joris@openbsd.org> * @@ -18,9 +18,25 @@ #ifndef CONFIG_H #define CONFIG_H -void cvs_parse_configfile(void); void cvs_read_config(char *name, void (*cb)(char *)); +void cvs_parse_configfile(void); +void cvs_parse_modules(void); + void config_parse_line(char *); +void modules_parse_line(char *); + +#include <sys/queue.h> + +/* module stuff */ + +char *cvs_module_lookup(char *); + +struct module_info { + char *mi_name; + char *mi_repository; + + TAILQ_ENTRY(module_info) m_list; +}; #endif |