]>
Commit | Line | Data |
---|---|---|
9c7c6346 FM |
1 | |
2 | struct getwordstruct | |
3 | { | |
4 | const char *current; | |
5 | const char *beginning; | |
6 | }; | |
7 | ||
5f3cfd1d FM |
8 | // auth.c |
9 | void htaccess(const char *name); | |
10 | ||
11 | // authfail.c | |
12 | void authfail_report(void); | |
13 | ||
14 | // charset.c | |
15 | void ccharset(char *CharSet); | |
16 | ||
17 | // convlog.c | |
18 | void convlog(const char *arq, char *df, int dfrom, int duntil); | |
19 | ||
20 | // css.c | |
21 | void css(FILE *fp_css); | |
22 | ||
23 | // dansguardian_log.c | |
24 | void dansguardian_log(void); | |
25 | ||
26 | // dansguardian_report.c | |
27 | void dansguardian_report(void); | |
28 | ||
29 | // datafile.c | |
30 | void data_file(char *tmp); | |
31 | ||
32 | // decomp.c | |
33 | void decomp(char *arq, char *zip, const char *tmp); | |
34 | void recomp(const char *arq, const char *zip) ; | |
35 | ||
36 | // denied.c | |
37 | void gen_denied_report(void); | |
38 | ||
39 | // download.c | |
40 | void download_report(void); | |
6e792ade FM |
41 | void free_download(void); |
42 | void set_download_suffix(const char *list); | |
43 | int is_download_suffix(const char *url); | |
5f3cfd1d FM |
44 | |
45 | // email.c | |
46 | int geramail(const char *dirname, int debug, const char *outdir, int userip, const char *email, const char *TempDir); | |
47 | ||
48 | // exclude.c | |
49 | int vhexclude(const char *excludefile, const char *url); | |
50 | int vuexclude(const char *excludeuser, const char *user); | |
51 | ||
52 | // getconf.c | |
53 | void getconf(void); | |
54 | ||
55 | // grepday.c | |
56 | void greport_day(const char *user); | |
c274f011 | 57 | void greport_cleanup(void); |
5f3cfd1d FM |
58 | |
59 | // html.c | |
60 | void htmlrel(void); | |
61 | ||
62 | // indexonly.c | |
63 | void index_only(const char *dirname,int debug); | |
64 | ||
65 | // ip2name.c | |
66 | void ip2name(char *ip,int ip_len); | |
67 | void name2ip(char *name); | |
68 | ||
69 | // language.c | |
70 | void language_load(const char *language); | |
71 | ||
72 | // lastlog.c | |
73 | void mklastlog(const char *outdir); | |
74 | ||
75 | // index.c | |
76 | void make_index(void); | |
77 | ||
78 | // realtime.c | |
79 | void realtime(void); | |
80 | ||
81 | // repday.c | |
82 | void report_day(const char *user); | |
83 | ||
84 | // report.c | |
0a4e18e1 | 85 | void gravatmp(const char *oldaccuser, const char *oldurl, long long int nacc, long long int nbytes, const char *oldmsg, long long int nelap, int indexonly, long long int incache, long long int oucache); |
5f3cfd1d FM |
86 | void gerarel(void); |
87 | ||
88 | // siteuser.c | |
89 | void siteuser(void); | |
90 | ||
91 | // smartfilter.c | |
92 | void smartfilter_report(void); | |
93 | ||
94 | // sort.c | |
95 | void sort_users_log(const char *tmp, int debug); | |
96 | void tmpsort(void); | |
97 | ||
98 | // splitlog.c | |
99 | void splitlog(const char *arq, char *df, int dfrom, int duntil, char *convert); | |
100 | ||
101 | // squidguard_log.c | |
102 | void squidguard_log(void); | |
103 | ||
104 | // squidguard_report.c | |
105 | void squidguard_report(void); | |
106 | ||
107 | // topsites.c | |
108 | void topsites(void); | |
109 | ||
110 | // topuser.c | |
111 | void topuser(void); | |
112 | ||
113 | // totday.c | |
114 | void day_totalize(const char *tmp, const char *user, int indexonly); | |
115 | ||
116 | // totger.c | |
117 | int totalger(const char *dirname, int debug, const char *outdir); | |
118 | ||
119 | // usage.c | |
120 | void usage(const char *prog); | |
121 | ||
122 | // useragent.c | |
123 | void useragent(void); | |
124 | ||
125 | // util.c | |
9c7c6346 FM |
126 | void getword_start(struct getwordstruct *gwarea, const char *line); |
127 | void getword_restart(struct getwordstruct *gwarea); | |
128 | int getword(char *word, int limit, struct getwordstruct *gwarea, int stop); | |
129 | int getword_multisep(char *word, int limit, struct getwordstruct *gwarea, int stop); | |
130 | int getword_skip(int limit, struct getwordstruct *gwarea, int stop); | |
0a4e18e1 | 131 | int getword_atoll(long long int *number, struct getwordstruct *gwarea, int stop); |
5f3cfd1d FM |
132 | void name_month(char *month,int month_len); |
133 | void conv_month_name(char *month); | |
134 | void buildymd(const char *dia, const char *mes, const char *ano, char *wdata); | |
135 | void date_from(char *date, char *dfrom, char *duntil); | |
136 | int getnumlist( char *, numlist *, const int, const int ); | |
137 | void fixip(char *ip); | |
138 | char *fixnum(long long int value, int n); | |
139 | char *fixnum2(long long int value, int n); | |
140 | void fixnone(char *str); | |
141 | void fixper(char *tbuf, char *period, const char *duntil); | |
142 | char *fixtime(long int elap); | |
2357ef77 | 143 | void fixendofline(char *str); |
5f3cfd1d FM |
144 | void show_info(FILE *fp_ou); |
145 | void show_sarg(FILE *fp_ou, const char *ind); | |
dfb337be | 146 | void write_logo_image(FILE *fp_ou); |
5f3cfd1d FM |
147 | void write_html_header(FILE *fp_ou, const char * ind); |
148 | void write_html_trailer(FILE *fp_ou); | |
dfb337be | 149 | void output_html_string(FILE *fp_ou,const char *str); |
48864d28 | 150 | void subs(char *str, int size, char *from, char *to); |
5f3cfd1d | 151 | void conv_month(char *month); |
d2fe0c32 | 152 | void debuga(const char *msg,...); |
5f3cfd1d FM |
153 | void debugaz(const char *head, const char *msg); |
154 | void my_lltoa(unsigned long long int n, char s[], int len); | |
155 | char *get_size(const char *path, const char *file); | |
48864d28 | 156 | void url_module(const char *url, char *w2); |
5f3cfd1d FM |
157 | void strip_latin(char *line); |
158 | char *buildtime(long long int elap); | |
159 | void obtdate(const char *dirname, const char *name, char *data); | |
a1de61fe | 160 | void formatdate(char *date,int date_size,int year,int month,int day,int hour,int minute,int second,int dst); |
5f3cfd1d | 161 | void obtuser(const char *dirname, const char *name, char *tuser); |
6e792ade | 162 | void obttotal(const char *dirname, const char *name, char *tbytes, const char *tuser, char *media); |
5f3cfd1d FM |
163 | void version(void); |
164 | int vercode(const char *code); | |
48864d28 FM |
165 | void load_excludecodes(const char *ExcludeCodes); |
166 | void free_excludecodes(void); | |
5f3cfd1d FM |
167 | void my_mkdir(const char *name); |
168 | int testvaliduserchar(const char *user); | |
169 | char *strlow(char *string); | |
170 | char *strup(char *string); | |
171 | void builddia(char *dia, const char *mes, const char *ano, const char *df, char *wdata); | |
172 | void vrfydir(const char *dir, const char *per1, const char *addr, const char *site, const char *us, const char *form); | |
48864d28 | 173 | void gperiod(const char *dirname, const char *period); |
5f3cfd1d | 174 | void removetmp(const char *outdir); |
120d768c | 175 | void zdate(char *ftime,int ftimesize, const char *DateFormat); |
5f3cfd1d FM |
176 | void baddata(void); |
177 | char *get_param_value(const char *param,char *line); | |
936c9905 FM |
178 | void read_usertab(const char *UserTabFile); |
179 | void get_usertab_name(const char *user,char *name,int namelen); | |
48864d28 | 180 | int compar( const void *, const void * ); |