char *title; // title tag
char *keys; // meta keywords tag, or NULL
char *desc; // meta description tag, or NULL
+ char *error; // http status
char *text; // unfiltered text
char *html; // generated html
};
/* Helper functions */
void href(const char *url);
-void print_link(char *path, char *name, int cur);
+void print_link(char *path, char *name, int cur, int dir);
void print_menu(menu_t *menu, int first, int last);
+void print_menu_start(void);
+void print_menu_end(void);
/* Global functions */
-void print_header(void);
+void print_header(page_t *page);
void print_page(page_t *page, menu_t *menu);