author | Lars Hjemli <hjemli@gmail.com> | 2008-12-07 14:52:35 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2008-12-07 14:52:35 (UTC) |
commit | c3c925f4eca3e863bedaae4cfe237c3ad52092b6 (patch) (side-by-side diff) | |
tree | 5d3afa3a3ed0fbdbe00ad8e3519cf3cf60413e09 /ui-shared.h | |
parent | 837d464af77d76a2661d92e05167657cbf430d80 (diff) | |
download | cgit-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>
-rw-r--r-- | ui-shared.h | 3 |
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 @@ -23,26 +23,27 @@ extern void cgit_log_link(char *name, char *title, char *class, char *head, extern void cgit_commit_link(char *name, char *title, char *class, char *head, char *rev); extern void cgit_patch_link(char *name, char *title, char *class, char *head, char *rev); extern void cgit_refs_link(char *name, char *title, char *class, char *head, char *rev, char *path); extern void cgit_snapshot_link(char *name, char *title, char *class, char *head, char *rev, char *archivename); extern void cgit_diff_link(char *name, char *title, char *class, char *head, char *new_rev, char *old_rev, char *path); extern void cgit_stats_link(char *name, char *title, char *class, char *head, char *path); extern void cgit_object_link(struct object *obj); extern void cgit_print_error(char *msg); extern void cgit_print_date(time_t secs, char *format, int local_time); extern void cgit_print_age(time_t t, time_t max_relative, char *format); extern void cgit_print_http_headers(struct cgit_context *ctx); extern void cgit_print_docstart(struct cgit_context *ctx); extern void cgit_print_docend(); extern void cgit_print_pageheader(struct cgit_context *ctx); extern void cgit_print_filemode(unsigned short mode); extern void cgit_print_snapshot_links(const char *repo, const char *head, const char *hex, int snapshots); - +extern void cgit_add_hidden_formfields(int incl_head, int incl_search, + char *page); #endif /* UI_SHARED_H */ |