]>
git.cameronkatri.com Git - cgit.git/blob - html.h
6 extern void html_raw(const char *txt
, size_t size
);
7 extern void html(const char *txt
);
9 __attribute__((format (printf
,1,2)))
10 extern void htmlf(const char *format
,...);
12 __attribute__((format (printf
,1,2)))
13 extern void html_txtf(const char *format
,...);
15 __attribute__((format (printf
,1,0)))
16 extern void html_vtxtf(const char *format
, va_list ap
);
18 __attribute__((format (printf
,1,2)))
19 extern void html_attrf(const char *format
,...);
21 extern void html_status(int code
, const char *msg
, int more_headers
);
22 extern void html_txt(const char *txt
);
23 extern void html_ntxt(int len
, const char *txt
);
24 extern void html_attr(const char *txt
);
25 extern void html_url_path(const char *txt
);
26 extern void html_url_arg(const char *txt
);
27 extern void html_hidden(const char *name
, const char *value
);
28 extern void html_option(const char *value
, const char *text
, const char *selected_value
);
29 extern void html_intoption(int value
, const char *text
, int selected_value
);
30 extern void html_link_open(const char *url
, const char *title
, const char *class);
31 extern void html_link_close(void);
32 extern void html_fileperm(unsigned short mode
);
33 extern int html_include(const char *filename
);
35 extern int http_parse_querystring(const char *txt
, void (*fn
)(const char *name
, const char *value
));