You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
466 B
22 lines
466 B
9 years ago
|
#ifndef INIT_H
|
||
|
#define INIT_H
|
||
9 years ago
|
#include "deptree.h"
|
||
9 years ago
|
|
||
9 years ago
|
struct program_options
|
||
|
{
|
||
|
unsigned int threads;
|
||
|
bool help,dump;
|
||
|
debug_level dl;
|
||
|
const char* config;
|
||
|
};
|
||
|
|
||
9 years ago
|
int BuildDepTree(DepTree* deptree, UsedType& used);
|
||
9 years ago
|
int CheckFunctions();
|
||
9 years ago
|
void DumpConfig();
|
||
9 years ago
|
int ParseConfigFile(const char* config);
|
||
|
int ParseOptions(int argc, char** argv, struct program_options& options);
|
||
|
int RegisterBuiltinFunctions();
|
||
|
debug_level SetDebugLevel(debug_level dl=INTERNALREQUEST);
|
||
9 years ago
|
|
||
|
#endif
|