]> Pileus Git - ~andy/aweather-web/blob - html.h
Update for ubuntu packages
[~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 DEBIAN_HOME  "http://packages.debian.org/unstable/aweather"
32 #define UBUNTU_HOME  "http://packages.ubuntu.com/oneiric/science/aweather"
33
34 #define PREFIX       "http://lug.rose-hulman.edu/proj/aweather/"
35
36 /* Types */
37 typedef struct {
38         const char *link;
39         const char *name;
40         void (*print)(void);
41         float prio;
42         /* Optional */
43         const char *desc;
44 } page_t;
45
46 /* Data */
47 extern page_t header[];
48 extern page_t other[];
49 extern page_t footer[];
50 extern page_t special[];
51
52 /* Global functions */
53 void print_header(void);
54 void print_page(const page_t *which);
55
56 /* Pages */
57 void print_about(void);
58 void print_news(void);
59 void print_screenshots(void);
60 void print_download(void);
61 void print_development(void);
62 void print_grits(void);
63 void print_rsl(void);
64
65 void print_contact(void);
66 void print_legal(void);
67
68 void print_index(void);
69 void print_notfound(void);
70 void print_sitemap(const page_t **pages);