enhancement #33
This commit is contained in:
4
fiche.h
4
fiche.h
@@ -54,11 +54,12 @@ char *BANFILE;
|
||||
char *WHITEFILE;
|
||||
char *WHITELIST;
|
||||
int DAEMON = 0;
|
||||
int HTTPS = 0;
|
||||
int PORT = 9999;
|
||||
int SLUG_SIZE = 4;
|
||||
int BUFSIZE = 32768;
|
||||
int QUEUE_SIZE = 500;
|
||||
char DOMAIN[128] = "http://localhost/";
|
||||
char DOMAIN[128] = "localhost/";
|
||||
char symbols[67] = "abcdefghijklmnopqrstuvwxyz0123456789";
|
||||
|
||||
unsigned int time_seed;
|
||||
@@ -87,6 +88,7 @@ void save_to_file(char *buffer, char *slug, struct client_data data);
|
||||
void display_info(struct client_data data, char *slug, char *message);
|
||||
void startup_message();
|
||||
void set_basedir();
|
||||
void set_domain_name();
|
||||
void load_list(char *file_path, int type);
|
||||
void parse_parameters(int argc, char **argv);
|
||||
void save_log(char *slug, char *hostaddrp, char *h_name);
|
||||
|
||||
Reference in New Issue
Block a user