]> Pileus Git - ~andy/aweather-web/blob - html.h
Add RSL page, misc fixes
[~andy/aweather-web] / html.h
1 #define VERSION        "0.5"
2 #define VERSION_LINUX  VERSION
3 #define VERSION_GENTOO "0.4.1"
4 #define VERSION_DEBIAN "0.4.2"
5 #define VERSION_WIN32  VERSION
6 #define VERSION_MACOS  "0"
7
8 /* Types */
9 typedef struct {
10         const char *link;
11         const char *name;
12         void (*print)(void);
13 } page_t;
14
15 /* Data */
16 extern page_t header[];
17 extern page_t other[];
18 extern page_t footer[];
19 extern page_t special[];
20
21 /* Global functions */
22 void print_header(void);
23 void print_page(const page_t *which);
24
25 /* Pages */
26 void print_about(void);
27 void print_news(void);
28 void print_screenshots(void);
29 void print_download(void);
30 void print_development(void);
31 void print_grits(void);
32 void print_rsl(void);
33
34 void print_contact(void);
35 void print_legal(void);
36
37 void print_index(void);
38 void print_notfound(void);