-rw-r--r-- | cgit.h | 20 |
1 files changed, 16 insertions, 4 deletions
@@ -1,55 +1,67 @@ #ifndef CGIT_H #define CGIT_H -#include "git.h" -#include <openssl/sha.h> -#include <ctype.h> -#include <sched.h> + +#include <git-compat-util.h> +#include <cache.h> +#include <grep.h> +#include <object.h> +#include <tree.h> +#include <commit.h> +#include <tag.h> +#include <diff.h> +#include <diffcore.h> +#include <refs.h> +#include <revision.h> +#include <log-tree.h> +#include <archive.h> +#include <xdiff/xdiff.h> + typedef void (*configfn)(const char *name, const char *value); struct cacheitem { char *name; struct stat st; int ttl; int fd; }; struct repoinfo { char *url; char *name; char *path; char *desc; char *owner; int snapshots; }; struct repolist { int length; int count; struct repoinfo *repos; }; 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; }; struct taginfo { char *tagger; char *tagger_email; int tagger_date; char *msg; }; extern const char cgit_version[]; extern struct repolist cgit_repolist; extern struct repoinfo *cgit_repo; |