X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/73b54f7d7e21fbb15c50e21eafe1737df96b2073..b0f946bcc7f08168ea2858d8658a74a32accd7f5:/cgit.h diff --git a/cgit.h b/cgit.h index d90ccdc..a20679a 100644 --- a/cgit.h +++ b/cgit.h @@ -173,6 +173,7 @@ struct cgit_config { int enable_index_links; int enable_log_filecount; int enable_log_linecount; + int enable_tree_linenumbers; int local_time; int max_repo_count; int max_commit_count; @@ -283,5 +284,6 @@ extern int cgit_parse_snapshots_mask(const char *str); extern int cgit_open_filter(struct cgit_filter *filter); extern int cgit_close_filter(struct cgit_filter *filter); +extern int readfile(const char *path, char **buf, size_t *size); #endif /* CGIT_H */