]> Pileus Git - ~andy/aweather-web/blobdiff - html.h
Update for ubuntu packages
[~andy/aweather-web] / html.h
diff --git a/html.h b/html.h
index ef991979d3c6ccdf0663526bebd4fc8ab94ba805..ee8028e3932f832637714957562d440b7be2f641 100644 (file)
--- a/html.h
+++ b/html.h
@@ -1,13 +1,51 @@
+/* Version information */
+#define VERSION        "0.5.1"
+#define VERSION_LINUX  "0.5.1"
+#define VERSION_GENTOO "0.5.1"
+#define VERSION_DEBIAN "0.5.1"
+#define VERSION_UBUNTU "0"
+#define VERSION_WIN32  "0.5.1"
+#define VERSION_MACOS  "0"
+
+#define VERSION_DESC   "Version " VERSION " contains several bug fixes along with updated WMS overlays"
+
+/* Link info */
+#define WIKI_INDEX   "/code/projects/aweather/wiki"
+#define WIKI_INSTALL "/code/projects/aweather/wiki/Install"
+
+#define BUG_LIST     "/code/projects/aweather/issues"
+#define BUG_NEW      "/code/projects/aweather/issues/new"
+
+#define GIT_AWEATHER "git://lug.rose-hulman.edu/proj/aweather"
+#define GIT_GRITS    "git://lug.rose-hulman.edu/proj/grits"
+#define GIT_RSL      "git://lug.rose-hulman.edu/~spenceal/rsl"
+
+#define GW_AWEATHER  "/git/?p=proj/aweather"
+#define GW_GRITS     "/git/?p=proj/grits"
+#define GW_RSL       "/git/?p=~spenceal/rsl"
+
+#define RSL_TAR      "rsl-v1.42.tar.gz"
+#define RSL_WEB      "http://trmm-fc.gsfc.nasa.gov/trmm_gv/software/rsl/"
+#define RSL_FTP      "ftp://trmm-fc.gsfc.nasa.gov/software/"
+
+#define DEBIAN_HOME  "http://packages.debian.org/unstable/aweather"
+#define UBUNTU_HOME  "http://packages.ubuntu.com/oneiric/science/aweather"
+
+#define PREFIX       "http://lug.rose-hulman.edu/proj/aweather/"
+
 /* Types */
 typedef struct {
        const char *link;
        const char *name;
        void (*print)(void);
+       float prio;
+       /* Optional */
+       const char *desc;
 } page_t;
 
 /* Data */
 extern page_t header[];
-extern page_t grits[];
+extern page_t other[];
 extern page_t footer[];
 extern page_t special[];
 
@@ -22,9 +60,11 @@ void print_screenshots(void);
 void print_download(void);
 void print_development(void);
 void print_grits(void);
+void print_rsl(void);
 
 void print_contact(void);
 void print_legal(void);
 
 void print_index(void);
 void print_notfound(void);
+void print_sitemap(const page_t **pages);