version 1.6, 2008/02/03 23:34:41 |
version 1.7, 2008/02/04 19:08:32 |
|
|
#ifndef CONFIG_H |
#ifndef CONFIG_H |
#define CONFIG_H |
#define CONFIG_H |
|
|
void cvs_read_config(char *name, void (*cb)(char *)); |
void cvs_read_config(char *name, void (*cb)(char *, int)); |
|
|
void cvs_parse_configfile(void); |
void cvs_parse_configfile(void); |
void cvs_parse_modules(void); |
void cvs_parse_modules(void); |
|
|
void config_parse_line(char *); |
void config_parse_line(char *, int); |
void modules_parse_line(char *); |
void modules_parse_line(char *, int); |
|
|
#include <sys/queue.h> |
#include <sys/queue.h> |
#include "file.h" |
#include "file.h" |
|
|
|
|
struct module_checkout { |
struct module_checkout { |
char *mc_name; |
char *mc_name; |
int mc_flags; |
char *mc_prog; |
|
|
|
int mc_flags; |
int mc_canfree; |
int mc_canfree; |
|
|
struct cvs_flisthead mc_modules; |
struct cvs_flisthead mc_modules; |
struct cvs_flisthead mc_ignores; |
struct cvs_flisthead mc_ignores; |
}; |
}; |
|
|
struct module_info { |
struct module_info { |
char *mi_name; |
char *mi_name; |
|
char *mi_prog; |
int mi_flags; |
int mi_flags; |
|
|
struct cvs_flisthead mi_modules; |
struct cvs_flisthead mi_modules; |