]> Pileus Git - ~andy/aweather-web/blob - html.h
Misc updates for 0.5.1
[~andy/aweather-web] / html.h
1 /* Version information */
2 #define VERSION        "0.5.1"
3 #define VERSION_LINUX  "0.5.1"
4 #define VERSION_GENTOO "0.5.1"
5 #define VERSION_DEBIAN "0.5.1"
6 #define VERSION_UBUNTU "0"
7 #define VERSION_WIN32  "0.5.1"
8 #define VERSION_MACOS  "0"
9
10 #define VERSION_DESC   "Version " VERSION " contains several bug fixes along with updated WMS overlays"
11
12 /* Link info */
13 #define WIKI_INDEX   "/code/projects/aweather/wiki"
14 #define WIKI_INSTALL "/code/projects/aweather/wiki/Install"
15
16 #define BUG_LIST     "/code/projects/aweather/issues"
17 #define BUG_NEW      "/code/projects/aweather/issues/new"
18
19 #define GIT_AWEATHER "git://lug.rose-hulman.edu/proj/aweather"
20 #define GIT_GRITS    "git://lug.rose-hulman.edu/proj/grits"
21 #define GIT_RSL      "git://lug.rose-hulman.edu/~spenceal/rsl"
22
23 #define GW_AWEATHER  "/git/?p=proj/aweather"
24 #define GW_GRITS     "/git/?p=proj/grits"
25 #define GW_RSL       "/git/?p=~spenceal/rsl"
26
27 #define RSL_TAR      "rsl-v1.42.tar.gz"
28 #define RSL_WEB      "http://trmm-fc.gsfc.nasa.gov/trmm_gv/software/rsl/"
29 #define RSL_FTP      "ftp://trmm-fc.gsfc.nasa.gov/software/"
30
31 #define DEB_HOME     "http://packages.debian.org/unstable/aweather"
32
33 #define PREFIX       "http://lug.rose-hulman.edu/proj/aweather/"
34
35 /* Types */
36 typedef struct {
37         const char *link;
38         const char *name;
39         void (*print)(void);
40         float prio;
41         /* Optional */
42         const char *desc;
43 } page_t;
44
45 /* Data */
46 extern page_t header[];
47 extern page_t other[];
48 extern page_t footer[];
49 extern page_t special[];
50
51 /* Global functions */
52 void print_header(void);
53 void print_page(const page_t *which);
54
55 /* Pages */
56 void print_about(void);
57 void print_news(void);
58 void print_screenshots(void);
59 void print_download(void);
60 void print_development(void);
61 void print_grits(void);
62 void print_rsl(void);
63
64 void print_contact(void);
65 void print_legal(void);
66
67 void print_index(void);
68 void print_notfound(void);
69 void print_sitemap(const page_t **pages);