]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-shared.h
scan-tree: split the pw_gecos field at the ',' to get the real name
[ps-cgit] / ui-shared.h
index e3fae641e1e51592657935dffa655fb7e2a80598..bff482604428c201e3a3c4c2d07d2642923a23f3 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef UI_SHARED_H
 #define UI_SHARED_H
 
+extern char *cgit_httpscheme();
 extern char *cgit_hosturl();
 extern char *cgit_repourl(const char *reponame);
 extern char *cgit_fileurl(const char *reponame, const char *pagename,
@@ -19,7 +20,7 @@ extern void cgit_plain_link(char *name, char *title, char *class, char *head,
                            char *rev, char *path);
 extern void cgit_log_link(char *name, char *title, char *class, char *head,
                          char *rev, char *path, int ofs, char *grep,
-                         char *pattern);
+                         char *pattern, int showmsg);
 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,
@@ -44,5 +45,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 */