diff options
Diffstat (limited to 'source/cmd.h')
| -rw-r--r-- | source/cmd.h | 8 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
1 file changed, 7 insertions, 1 deletion
diff --git a/source/cmd.h b/source/cmd.h index f580fa1..f47878b 100644 --- a/source/cmd.h +++ b/source/cmd.h @@ -17,7 +17,13 @@ struct cgit_cmd { }; /* - * The entry naming ctx.qry.page, or NULL when no page goes by that name. + * The entry for the page named, or NULL when no page goes by that name. + */ +extern const struct cgit_cmd *cgit_find_cmd(const char *name); + +/* + * The entry naming ctx.qry.page, after filling in the default page for the + * request, or NULL when no page goes by that name. */ extern const struct cgit_cmd *cgit_get_cmd(void); |
