aboutsummaryrefslogtreecommitdiffstats
path: root/cmd.h
diff options
context:
space:
mode:
authorJason A. Donenfeld2015-08-14 15:54:32 +0200
committerJason A. Donenfeld2015-08-14 15:54:32 +0200
commit03de473354dc8c17a3b23a973b5cc67752ad20cb (patch)
tree9ec8e24b626018876eb266c24464ff2e0ae0dde1 /cmd.h
parentc5975ae56684a1188637f2bdba7d8e18de075abc (diff)
downloadcgit-03de473354dc8c17a3b23a973b5cc67752ad20cb.tar.gz
cgit-03de473354dc8c17a3b23a973b5cc67752ad20cb.tar.bz2
cgit-03de473354dc8c17a3b23a973b5cc67752ad20cb.zip
cmd: no need for pre function hook now
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'cmd.h')
-rw-r--r--cmd.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/cmd.h b/cmd.h
index 1a98089..6249b1d 100644
--- a/cmd.h
+++ b/cmd.h
@@ -2,12 +2,10 @@
2#define CMD_H 2#define CMD_H
3 3
4typedef void (*cgit_cmd_fn)(void); 4typedef void (*cgit_cmd_fn)(void);
5typedef void (*cgit_cmd_pre_fn)(void);
6 5
7struct cgit_cmd { 6struct cgit_cmd {
8 const char *name; 7 const char *name;
9 cgit_cmd_fn fn; 8 cgit_cmd_fn fn;
10 cgit_cmd_pre_fn pre;
11 unsigned int want_repo:1, 9 unsigned int want_repo:1,
12 want_vpath:1, 10 want_vpath:1,
13 is_clone:1; 11 is_clone:1;