merge(third_party/cgit): Import at master of 2020-01-11
Imported commit '723dc8fbcb' as
'third_party/cgit'.
This commit is contained in:
commit
5a069d5888
102 changed files with 15632 additions and 0 deletions
16
third_party/cgit/cmd.h
vendored
Normal file
16
third_party/cgit/cmd.h
vendored
Normal 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 */
|
||||
Loading…
Add table
Add a link
Reference in a new issue