timekeeper

My first (abandoned unfinished) web application for time tracking
git clone git://jacobedwards.org/timekeeper
Log | Files | Refs | README

menu.h (220B)


      1 struct menuitem {
      2 	enum {
      3 		MenuURL,
      4 		MenuFunc
      5 	} type;
      6 	union {
      7 		char *url;
      8 		enum kcgi_err (*func)(struct pagedata *);
      9 	} u;
     10 };
     11 
     12 enum kcgi_err	htmlmenu(struct pagedata *pd, struct menuitem *items, unsigned int len);