]> Pileus Git - ~andy/aweather-web/blob - html.h
Add defines for links, misc updates
[~andy/aweather-web] / html.h
1 /* Version information */
2 #define VERSION        "0.5"
3 #define VERSION_LINUX  VERSION
4 #define VERSION_GENTOO VERSION
5 #define VERSION_DEBIAN VERSION
6 #define VERSION_WIN32  VERSION
7 #define VERSION_MACOS  "0"
8
9 /* Link info */
10 #define WIKI_INDEX   "/code/projects/aweather/wiki"
11 #define WIKI_INSTALL "/code/projects/aweather/wiki/Install"
12
13 #define BUG_LIST     "/code/projects/aweather/issues"
14 #define BUG_NEW      "/code/projects/aweather/issues/new"
15
16 #define GIT_AWEATHER "git://lug.rose-hulman.edu/proj/aweather"
17 #define GIT_GRITS    "git://lug.rose-hulman.edu/proj/grits"
18 #define GIT_RSL      "git://lug.rose-hulman.edu/~spenceal/rsl"
19
20 #define GW_AWEATHER  "/git/?p=proj/aweather"
21 #define GW_GRITS     "/git/?p=proj/grits"
22 #define GW_RSL       "/git/?p=~spenceal/rsl"
23
24 #define RSL_WEB      "http://trmm-fc.gsfc.nasa.gov/trmm_gv/software/rsl/"
25 #define RSL_FTP      "ftp://trmm-fc.gsfc.nasa.gov/software/rsl-v1.41.tar.gz"
26
27 /* Types */
28 typedef struct {
29         const char *link;
30         const char *name;
31         void (*print)(void);
32 } page_t;
33
34 /* Data */
35 extern page_t header[];
36 extern page_t other[];
37 extern page_t footer[];
38 extern page_t special[];
39
40 /* Global functions */
41 void print_header(void);
42 void print_page(const page_t *which);
43
44 /* Pages */
45 void print_about(void);
46 void print_news(void);
47 void print_screenshots(void);
48 void print_download(void);
49 void print_development(void);
50 void print_grits(void);
51 void print_rsl(void);
52
53 void print_contact(void);
54 void print_legal(void);
55
56 void print_index(void);
57 void print_notfound(void);