aboutsummaryrefslogtreecommitdiffstats
path: root/cgit.h
diff options
context:
space:
mode:
Diffstat (limited to 'cgit.h')
-rw-r--r--cgit.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/cgit.h b/cgit.h
index 598d8c3..5b7ee1c 100644
--- a/cgit.h
+++ b/cgit.h
@@ -186,8 +186,6 @@ extern struct cgit_repolist cgit_repolist;
186extern struct cgit_context ctx; 186extern struct cgit_context ctx;
187extern int cgit_cmd; 187extern int cgit_cmd;
188 188
189extern int htmlfd;
190
191extern void cgit_prepare_context(struct cgit_context *ctx); 189extern void cgit_prepare_context(struct cgit_context *ctx);
192extern int cgit_get_cmd_index(const char *cmd); 190extern int cgit_get_cmd_index(const char *cmd);
193extern struct cgit_repo *cgit_get_repoinfo(const char *url); 191extern struct cgit_repo *cgit_get_repoinfo(const char *url);
@@ -222,18 +220,6 @@ extern void cgit_diff_commit(struct commit *commit, filepair_fn fn);
222 220
223extern char *fmt(const char *format,...); 221extern char *fmt(const char *format,...);
224 222
225extern void html(const char *txt);
226extern void htmlf(const char *format,...);
227extern void html_txt(char *txt);
228extern void html_ntxt(int len, char *txt);
229extern void html_attr(char *txt);
230extern void html_hidden(char *name, char *value);
231extern void html_option(char *value, char *text, char *selected_value);
232extern void html_link_open(char *url, char *title, char *class);
233extern void html_link_close(void);
234extern void html_filemode(unsigned short mode);
235extern int html_include(const char *filename);
236
237extern int cgit_read_config(const char *filename, configfn fn); 223extern int cgit_read_config(const char *filename, configfn fn);
238extern int cgit_parse_query(char *txt, configfn fn); 224extern int cgit_parse_query(char *txt, configfn fn);
239extern struct commitinfo *cgit_parse_commit(struct commit *commit); 225extern struct commitinfo *cgit_parse_commit(struct commit *commit);
@@ -280,6 +266,7 @@ extern void cgit_print_pageheader(char *title, int show_search);
280extern void cgit_print_snapshot_start(const char *mimetype, 266extern void cgit_print_snapshot_start(const char *mimetype,
281 const char *filename, 267 const char *filename,
282 struct cacheitem *item); 268 struct cacheitem *item);
269extern void cgit_print_filemode(unsigned short mode);
283extern void cgit_print_branches(int maxcount); 270extern void cgit_print_branches(int maxcount);
284extern void cgit_print_tags(int maxcount); 271extern void cgit_print_tags(int maxcount);
285 272