summaryrefslogtreecommitdiffabout
path: root/cgit.h
Side-by-side diff
Diffstat (limited to 'cgit.h') (more/less context) (ignore whitespace changes)
-rw-r--r--cgit.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cgit.h b/cgit.h
index b6b60c6..f06a941 100644
--- a/cgit.h
+++ b/cgit.h
@@ -1,45 +1,49 @@
#ifndef CGIT_H
#define CGIT_H
#include "git.h"
#include <openssl/sha.h>
#include <ctype.h>
#include <sched.h>
typedef void (*configfn)(const char *name, const char *value);
struct cacheitem {
char *name;
struct stat st;
int ttl;
int fd;
};
struct commitinfo {
struct commit *commit;
char *author;
+ char *author_email;
+ unsigned long author_date;
char *committer;
+ char *committer_email;
+ unsigned long committer_date;
char *subject;
char *msg;
};
extern const char cgit_version[];
extern char *cgit_root;
extern char *cgit_root_title;
extern char *cgit_css;
extern char *cgit_logo;
extern char *cgit_logo_link;
extern char *cgit_virtual_root;
extern char *cgit_cache_root;
extern int cgit_nocache;
extern int cgit_max_lock_attempts;
extern int cgit_cache_root_ttl;
extern int cgit_cache_repo_ttl;
extern int cgit_cache_dynamic_ttl;
extern int cgit_cache_static_ttl;
extern int cgit_cache_max_create_time;
extern char *cgit_repo_name;
extern char *cgit_repo_desc;