]> Pileus Git - ~andy/aweather-web/blob - html.h
Formatting
[~andy/aweather-web] / html.h
1 /* Version information */
2 #define VERSION       "0.7"
3 #define VERSION_GRITS "0.7"
4 #define VERSION_WIN   "0.7"
5 #define VERSION_MAC   "0.7"
6
7 #define VERSION_DESC  "Version " VERSION " a GPS tracking plugin for Linux " \
8                       "along with various other updates and bug fixes"
9
10 /* Link info */
11 #define WIKI_INDEX    "/code/projects/aweather/wiki"
12 #define WIKI_INSTALL  "/code/projects/aweather/wiki/Install"
13
14 #define BUG_LIST      "/code/projects/aweather/issues"
15 #define BUG_NEW       "/code/projects/aweather/issues/new"
16
17 #define GIT_AWEATHER  "git://lug.rose-hulman.edu/proj/aweather"
18 #define GIT_GRITS     "git://lug.rose-hulman.edu/proj/grits"
19 #define GIT_RSL       "git://lug.rose-hulman.edu/~spenceal/rsl"
20
21 #define GW_AWEATHER   "/git/?p=proj/aweather"
22 #define GW_GRITS      "/git/?p=proj/grits"
23 #define GW_RSL        "/git/?p=~spenceal/rsl"
24
25 #define RSL_TAR       "rsl-v1.42.tar.gz"
26 #define RSL_WEB       "http://trmm-fc.gsfc.nasa.gov/trmm_gv/software/rsl/"
27 #define RSL_FTP       "ftp://trmm-fc.gsfc.nasa.gov/software/"
28
29 #define DEBIAN_HOME   "http://packages.debian.org/unstable/aweather"
30 #define UBUNTU_HOME   "http://packages.ubuntu.com/oneiric/science/aweather"
31 #define UBUNTU_PPA    "https://launchpad.net/~andy753421/+archive/aweather"
32 #define ARCH_HOME     "http://aur.archlinux.org/packages.php?ID=52003"
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_file(char *file);
54 void print_header(void);
55 void print_page(const page_t *which);
56
57 /* Pages */
58 void print_about(void);
59 void print_manual(void);
60 void print_news(void);
61 void print_oldnews(void);
62 void print_screenshots(void);
63 void print_download(void);
64 void print_development(void);
65 void print_grits(void);
66 void print_rsl(void);
67
68 void print_contact(void);
69 void print_legal(void);
70
71 void print_index(void);
72 void print_notfound(void);
73 void print_sitemap(const page_t **pages);