common.h (550B)
1 #include <sys/types.h> 2 #include <stdarg.h> 3 #include <stddef.h> 4 #include <stdint.h> 5 #include <kcgi.h> 6 #include <kcgihtml.h> 7 8 #include "../page.h" 9 #include "../html.h" 10 #include "../user.h" 11 #include "../key.h" 12 #include "util.h" 13 14 enum kcgi_err htmlheader(struct pagedata *pd); 15 enum kcgi_err tk_startpage(struct pagedata *pd, struct pagetemplate *t, 16 enum khttp code); 17 enum kcgi_err tk_htmlerror(struct pagedata *pd, char *fmt, ...); 18 enum kcgi_err tk_errorpage(struct pagedata *pd, enum khttp code); 19 enum kcgi_err tk_prompt_login(struct pagedata *pd);