aboutsummaryrefslogtreecommitdiffstats
path: root/ui-shared.h
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2008-12-07 15:52:35 +0100
committerLars Hjemli <hjemli@gmail.com>2008-12-07 15:52:35 +0100
commitc3c925f4eca3e863bedaae4cfe237c3ad52092b6 (patch)
tree5d3afa3a3ed0fbdbe00ad8e3519cf3cf60413e09 /ui-shared.h
parentui-tree: add link to stats page per path (diff)
downloadcgit-c3c925f4eca3e863bedaae4cfe237c3ad52092b6.tar.xz
cgit-c3c925f4eca3e863bedaae4cfe237c3ad52092b6.zip
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')
-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
@@ -44,5 +44,6 @@ 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 */