summaryrefslogtreecommitdiffabout
path: root/cmd.h
Side-by-side diff
Diffstat (limited to 'cmd.h') (more/less context) (ignore whitespace changes)
-rw-r--r--cmd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd.h b/cmd.h
index ec9e691..8dc01bd 100644
--- a/cmd.h
+++ b/cmd.h
@@ -1,15 +1,16 @@
#ifndef CMD_H
#define CMD_H
typedef void (*cgit_cmd_fn)(struct cgit_context *ctx);
struct cgit_cmd {
const char *name;
cgit_cmd_fn fn;
unsigned int want_repo:1,
- want_layout:1;
+ want_layout:1,
+ want_vpath:1;
};
extern struct cgit_cmd *cgit_get_cmd(struct cgit_context *ctx);
#endif /* CMD_H */