extern int htmlfd;
+extern void cgit_global_config_cb(const char *name, const char *value);
+extern void cgit_repo_config_cb(const char *name, const char *value);
+extern void cgit_querystring_cb(const char *name, const char *value);
+
extern char *fmt(const char *format,...);
extern void html(const char *txt);
extern void cache_prepare(struct cacheitem *item);
extern int cache_lock(struct cacheitem *item);
extern int cache_unlock(struct cacheitem *item);
+extern int cache_cancel_lock(struct cacheitem *item);
extern int cache_exist(struct cacheitem *item);
extern int cache_expired(struct cacheitem *item);
extern void cgit_print_pageheader(char *title);
extern void cgit_print_repolist(struct cacheitem *item);
-
-
-extern void cgit_repo_config_cb(const char *name, const char *value);
-
-extern void cgit_print_repo_summary();
-
+extern void cgit_print_summary();
+extern void cgit_print_log(const char *tip, int ofs, int cnt);
+extern void cgit_print_view(char *hex);
#endif /* CGIT_H */