X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/6940b23b9e4698ba466a4616e4de77b986560ad3..9999b0a3e915c76a52be433830660e803ef71cb0:/cmd.h?ds=sidebyside diff --git a/cmd.h b/cmd.h index 8dc01bd..752f078 100644 --- a/cmd.h +++ b/cmd.h @@ -1,16 +1,17 @@ #ifndef CMD_H #define CMD_H -typedef void (*cgit_cmd_fn)(struct cgit_context *ctx); +typedef void (*cgit_cmd_fn)(void); struct cgit_cmd { const char *name; cgit_cmd_fn fn; unsigned int want_repo:1, want_layout:1, - want_vpath:1; + want_vpath:1, + is_clone:1; }; -extern struct cgit_cmd *cgit_get_cmd(struct cgit_context *ctx); +extern struct cgit_cmd *cgit_get_cmd(void); #endif /* CMD_H */