summaryrefslogtreecommitdiffabout
path: root/cgit.h
authorLars Hjemli <hjemli@gmail.com>2008-06-26 10:54:44 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2008-06-26 10:54:44 (UTC)
commit29b37e9781ce1bb04e558c7490d2c29eb1a477e5 (patch) (side-by-side diff)
tree5a9a7b0b976b442cc8dda6195b804993c603d28d /cgit.h
parent833b0d2732f808281496df16eb917d6fdb0a274f (diff)
parent42effc939090b2fbf1b2b76cd1d9c30fabcd230e (diff)
downloadcgit-29b37e9781ce1bb04e558c7490d2c29eb1a477e5.zip
cgit-29b37e9781ce1bb04e558c7490d2c29eb1a477e5.tar.gz
cgit-29b37e9781ce1bb04e558c7490d2c29eb1a477e5.tar.bz2
Merge branch 'master' of git://git.klever.net/patchwork/cgit
* 'master' of git://git.klever.net/patchwork/cgit: allow specification of directly linked blobs mimetypes allow blob extract blobs by head/path combination
Diffstat (limited to 'cgit.h') (more/less context) (show 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
@@ -87,64 +87,65 @@ struct taginfo {
int tagger_date;
char *msg;
};
struct refinfo {
const char *refname;
struct object *object;
union {
struct taginfo *tag;
struct commitinfo *commit;
};
};
struct reflist {
struct refinfo **refs;
int alloc;
int count;
};
struct cgit_query {
int has_symref;
int has_sha1;
char *raw;
char *repo;
char *page;
char *search;
char *grep;
char *head;
char *sha1;
char *sha2;
char *path;
char *name;
+ char *mimetype;
int ofs;
};
struct cgit_config {
char *agefile;
char *cache_root;
char *clone_prefix;
char *css;
char *index_header;
char *index_info;
char *logo;
char *logo_link;
char *module_link;
char *repo_group;
char *robots;
char *root_title;
char *root_desc;
char *root_readme;
char *script_name;
char *virtual_root;
int cache_size;
int cache_dynamic_ttl;
int cache_max_create_time;
int cache_repo_ttl;
int cache_root_ttl;
int cache_static_ttl;
int enable_index_links;
int enable_log_filecount;
int enable_log_linecount;
int max_repo_count;
int max_commit_count;
int max_lock_attempts;