read config files into struct
This commit is contained in:
@@ -1,2 +1,12 @@
|
||||
struct configuration {
|
||||
xmlChar *file;
|
||||
xmlChar *bible;
|
||||
xmlChar *book;
|
||||
xmlChar *chapter;
|
||||
xmlChar *chapter_numbers;
|
||||
} typedef CONFIG;
|
||||
|
||||
CONFIG *config;
|
||||
|
||||
void cleanup();
|
||||
void printusage(int error);
|
||||
char *output_file = "";
|
||||
|
@@ -1 +1 @@
|
||||
int readconfig(char *config_file);
|
||||
int readconfig(char *config_file, CONFIG *config);
|
||||
|
Reference in New Issue
Block a user