summaryrefslogtreecommitdiffabout
path: root/cgit.h
Side-by-side diff
Diffstat (limited to 'cgit.h') (more/less context) (ignore whitespace changes)
-rw-r--r--cgit.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/cgit.h b/cgit.h
index 163f355..ab0efeb 100644
--- a/cgit.h
+++ b/cgit.h
@@ -18,2 +18,3 @@
#include <xdiff/xdiff.h>
+#include <utf8.h>
@@ -50,2 +51,7 @@
+/*
+ * Default encoding
+ */
+#define PAGE_ENCODING "UTF-8"
+
typedef void (*configfn)(const char *name, const char *value);
@@ -92,2 +98,3 @@ struct commitinfo {
char *msg;
+ char *msg_encoding;
};
@@ -134,2 +141,3 @@ extern char *cgit_cache_root;
extern char *cgit_repo_group;
+extern char *cgit_robots;