summaryrefslogtreecommitdiffabout
path: root/ui-shared.h
authorLars Hjemli <hjemli@gmail.com>2008-12-07 14:52:35 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2008-12-07 14:52:35 (UTC)
commitc3c925f4eca3e863bedaae4cfe237c3ad52092b6 (patch) (unidiff)
tree5d3afa3a3ed0fbdbe00ad8e3519cf3cf60413e09 /ui-shared.h
parent837d464af77d76a2661d92e05167657cbf430d80 (diff)
downloadcgit-c3c925f4eca3e863bedaae4cfe237c3ad52092b6.zip
cgit-c3c925f4eca3e863bedaae4cfe237c3ad52092b6.tar.gz
cgit-c3c925f4eca3e863bedaae4cfe237c3ad52092b6.tar.bz2
ui-shared: externalize add_hidden_formfields()
This function will be reused by ui-stats.c in the next commit. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'ui-shared.h') (more/less context) (ignore whitespace changes)
-rw-r--r--ui-shared.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui-shared.h b/ui-shared.h
index e3fae64..1524dc3 100644
--- a/ui-shared.h
+++ b/ui-shared.h
@@ -35,14 +35,15 @@ extern void cgit_stats_link(char *name, char *title, char *class, char *head,
35extern void cgit_object_link(struct object *obj); 35extern void cgit_object_link(struct object *obj);
36 36
37extern void cgit_print_error(char *msg); 37extern void cgit_print_error(char *msg);
38extern void cgit_print_date(time_t secs, char *format, int local_time); 38extern void cgit_print_date(time_t secs, char *format, int local_time);
39extern void cgit_print_age(time_t t, time_t max_relative, char *format); 39extern void cgit_print_age(time_t t, time_t max_relative, char *format);
40extern void cgit_print_http_headers(struct cgit_context *ctx); 40extern void cgit_print_http_headers(struct cgit_context *ctx);
41extern void cgit_print_docstart(struct cgit_context *ctx); 41extern void cgit_print_docstart(struct cgit_context *ctx);
42extern void cgit_print_docend(); 42extern void cgit_print_docend();
43extern void cgit_print_pageheader(struct cgit_context *ctx); 43extern void cgit_print_pageheader(struct cgit_context *ctx);
44extern void cgit_print_filemode(unsigned short mode); 44extern void cgit_print_filemode(unsigned short mode);
45extern void cgit_print_snapshot_links(const char *repo, const char *head, 45extern void cgit_print_snapshot_links(const char *repo, const char *head,
46 const char *hex, int snapshots); 46 const char *hex, int snapshots);
47 47extern void cgit_add_hidden_formfields(int incl_head, int incl_search,
48 char *page);
48#endif /* UI_SHARED_H */ 49#endif /* UI_SHARED_H */