diff options
Diffstat (limited to 'cgit.h')
-rw-r--r-- | cgit.h | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -25,9 +25,8 @@ | |||
25 | #define CMD_COMMIT 2 | 25 | #define CMD_COMMIT 2 |
26 | #define CMD_DIFF 3 | 26 | #define CMD_DIFF 3 |
27 | #define CMD_TREE 4 | 27 | #define CMD_TREE 4 |
28 | #define CMD_VIEW 5 | 28 | #define CMD_BLOB 5 |
29 | #define CMD_BLOB 6 | 29 | #define CMD_SNAPSHOT 6 |
30 | #define CMD_SNAPSHOT 7 | ||
31 | 30 | ||
32 | 31 | ||
33 | /* | 32 | /* |
@@ -215,9 +214,8 @@ extern void cgit_print_snapshot_start(const char *mimetype, | |||
215 | extern void cgit_print_repolist(struct cacheitem *item); | 214 | extern void cgit_print_repolist(struct cacheitem *item); |
216 | extern void cgit_print_summary(); | 215 | extern void cgit_print_summary(); |
217 | extern void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, char *path, int pager); | 216 | extern void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, char *path, int pager); |
218 | extern void cgit_print_view(const char *hex, char *path); | ||
219 | extern void cgit_print_blob(struct cacheitem *item, const char *hex, char *path); | 217 | extern void cgit_print_blob(struct cacheitem *item, const char *hex, char *path); |
220 | extern void cgit_print_tree(const char *rev, const char *hex, char *path); | 218 | extern void cgit_print_tree(const char *rev, char *path); |
221 | extern void cgit_print_commit(const char *hex); | 219 | extern void cgit_print_commit(const char *hex); |
222 | extern void cgit_print_diff(const char *head, const char *old_hex, const char *new_hex, | 220 | extern void cgit_print_diff(const char *head, const char *old_hex, const char *new_hex, |
223 | char *path); | 221 | char *path); |