diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Restyle the sources and fix the audit's findings
Diffstat (limited to 'source/ui-clone.h')
| -rw-r--r-- | source/ui-clone.h | 19 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
1 file changed, 13 insertions, 6 deletions
diff --git a/source/ui-clone.h b/source/ui-clone.h index 3e460a3..71deff2 100644 --- a/source/ui-clone.h +++ b/source/ui-clone.h @@ -1,8 +1,15 @@ -#ifndef UI_CLONE_H -#define UI_CLONE_H +/* + * The entry points that serve a dumb HTTP clone, one for each kind of file + * such a client fetches. Each writes raw bytes rather than a page, and cmd.c + * flags them as clone requests so a site with http cloning turned off can + * refuse all of them in one place. + */ -void cgit_clone_info(void); -void cgit_clone_objects(void); -void cgit_clone_head(void); +#ifndef CGIT_UI_CLONE_H +#define CGIT_UI_CLONE_H -#endif /* UI_CLONE_H */ +extern void cgit_clone_info(void); +extern void cgit_clone_objects(void); +extern void cgit_clone_head(void); + +#endif // CGIT_UI_CLONE_H |
