-extern void cgit_print_log(const char *tip, int ofs, int cnt);
-
-extern void cgit_repo_config_cb(const char *name, const char *value);
-
+extern void cgit_print_log(const char *tip, int ofs, int cnt, char *grep);
+extern void cgit_print_view(const char *hex);
+extern void cgit_print_tree(const char *hex);
+extern void cgit_print_commit(const char *hex);
+extern void cgit_print_diff(const char *old_hex, const char *new_hex);