about summary refs log tree commit diff
path: root/cgit.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-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
--- /dev/null
+++ b/cgit.h
@@ -0,0 +1,21 @@
+#ifndef CGIT_H
+#define CGIT_H
+
+#include "git.h"
+#include <openssl/sha.h>
+
+extern char *fmt(const char *format,...);
+
+extern void html(const char *txt);
+extern void htmlf(const char *format,...);
+extern void html_txt(char *txt);
+extern void html_attr(char *txt);
+
+extern void html_link_open(char *url, char *title, char *class);
+extern void html_link_close(void);
+
+typedef void (*configfn)(const char *name, const char *value);
+
+extern int cgit_read_config(const char *filename, configfn fn);
+
+#endif /* CGIT_H */
aa7939d9c1641904f04e&follow=1'>Fix copy mode bindings for tmux 2.4June McEnroe 2017-05-02Remove option unnecessary in nvim 0.2June McEnroe 2017-05-01Reorder lines in psqlrcJune McEnroe 2017-05-01Clean up Karabiner configurationJune McEnroe 2017-05-01Fix prune script loopJune McEnroe 2017-05-01Fix prune scriptJune McEnroe 2017-05-01Clean up SSH configJune McEnroe 2017-05-01Rename colorscheme "trivial"June McEnroe 2017-05-01Update vendored pathogenJune McEnroe 2017-05-01Clean up git configJune McEnroe 2017-05-01Clean up style in xxJune McEnroe 2017-05-01Clean up style in pbdJune McEnroe 2017-05-01Use EX_OK in pbcopyJune McEnroe 2017-04-30Clean up clockJune McEnroe 2017-04-30Clean up error strings in briJune McEnroe 2017-03-18Add -u option to xxJune McEnroe 2017-03-15Fix non-string-literal-format-string in briJune McEnroe 2017-03-15Fix bri compilationJune McEnroe 2017-03-15Use psvar for title settingJune McEnroe 2017-03-14Add bri brightness control scriptJune McEnroe 2017-03-14Add comment to tmux terminal overrideJune McEnroe 2017-03-13Have tmux set block cursor on linux consoleJune McEnroe 2017-03-13Use inverse for Visual in colorschemeJune McEnroe