summaryrefslogtreecommitdiffabout
path: root/cgit.h
authorMichael Krelin <hacker@klever.net>2008-06-24 21:42:32 (UTC)
committer Michael Krelin <hacker@klever.net>2008-06-24 21:42:32 (UTC)
commit42effc939090b2fbf1b2b76cd1d9c30fabcd230e (patch) (unidiff)
treeba75a2bc400a2a1dab6417b33b97a0d020fabf0f /cgit.h
parent01d2dce7e73e3f022d186de27dd5d15574144ca8 (diff)
downloadcgit-42effc939090b2fbf1b2b76cd1d9c30fabcd230e.zip
cgit-42effc939090b2fbf1b2b76cd1d9c30fabcd230e.tar.gz
cgit-42effc939090b2fbf1b2b76cd1d9c30fabcd230e.tar.bz2
allow specification of directly linked blobs mimetypes
Signed-off-by: Michael Krelin <hacker@klever.net>
Diffstat (limited to 'cgit.h') (more/less context) (ignore whitespace changes)
-rw-r--r--cgit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cgit.h b/cgit.h
index 4fa5cf2..1972d75 100644
--- a/cgit.h
+++ b/cgit.h
@@ -103,32 +103,33 @@ struct reflist {
103 int count; 103 int count;
104}; 104};
105 105
106struct cgit_query { 106struct cgit_query {
107 int has_symref; 107 int has_symref;
108 int has_sha1; 108 int has_sha1;
109 char *raw; 109 char *raw;
110 char *repo; 110 char *repo;
111 char *page; 111 char *page;
112 char *search; 112 char *search;
113 char *grep; 113 char *grep;
114 char *head; 114 char *head;
115 char *sha1; 115 char *sha1;
116 char *sha2; 116 char *sha2;
117 char *path; 117 char *path;
118 char *name; 118 char *name;
119 char *mimetype;
119 int ofs; 120 int ofs;
120}; 121};
121 122
122struct cgit_config { 123struct cgit_config {
123 char *agefile; 124 char *agefile;
124 char *cache_root; 125 char *cache_root;
125 char *clone_prefix; 126 char *clone_prefix;
126 char *css; 127 char *css;
127 char *index_header; 128 char *index_header;
128 char *index_info; 129 char *index_info;
129 char *logo; 130 char *logo;
130 char *logo_link; 131 char *logo_link;
131 char *module_link; 132 char *module_link;
132 char *repo_group; 133 char *repo_group;
133 char *robots; 134 char *robots;
134 char *root_title; 135 char *root_title;