summaryrefslogtreecommitdiffabout
path: root/cgit.h
Unidiff
Diffstat (limited to 'cgit.h') (more/less context) (ignore whitespace changes)
-rw-r--r--cgit.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/cgit.h b/cgit.h
new file mode 100644
index 0000000..19f7ba7
--- a/dev/null
+++ b/cgit.h
@@ -0,0 +1,21 @@
1#ifndef CGIT_H
2#define CGIT_H
3
4#include "git.h"
5#include <openssl/sha.h>
6
7extern char *fmt(const char *format,...);
8
9extern void html(const char *txt);
10extern void htmlf(const char *format,...);
11extern void html_txt(char *txt);
12extern void html_attr(char *txt);
13
14extern void html_link_open(char *url, char *title, char *class);
15extern void html_link_close(void);
16
17typedef void (*configfn)(const char *name, const char *value);
18
19extern int cgit_read_config(const char *filename, configfn fn);
20
21#endif /* CGIT_H */