Squashed 'third_party/cgit/' content from commit 8fc0c81

git-subtree-dir: third_party/cgit
git-subtree-split: 8fc0c81bbbed21ee30e8a48b2ab1066a029b7b32
This commit is contained in:
Vincent Ambo 2020-01-11 23:30:06 +00:00
commit 723dc8fbcb
102 changed files with 15632 additions and 0 deletions

16
cmd.h Normal file
View file

@ -0,0 +1,16 @@
#ifndef CMD_H
#define CMD_H
typedef void (*cgit_cmd_fn)(void);
struct cgit_cmd {
const char *name;
cgit_cmd_fn fn;
unsigned int want_repo:1,
want_vpath:1,
is_clone:1;
};
extern struct cgit_cmd *cgit_get_cmd(void);
#endif /* CMD_H */