summaryrefslogtreecommitdiffabout
path: root/cgit.h
Unidiff
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 02cc26a..37584d6 100644
--- a/cgit.h
+++ b/cgit.h
@@ -66,24 +66,25 @@ extern void cgit_repo_config_cb(const char *name, const char *value);
66extern void cgit_querystring_cb(const char *name, const char *value); 66extern void cgit_querystring_cb(const char *name, const char *value);
67 67
68extern void *cgit_free_commitinfo(struct commitinfo *info); 68extern void *cgit_free_commitinfo(struct commitinfo *info);
69 69
70extern char *fmt(const char *format,...); 70extern char *fmt(const char *format,...);
71 71
72extern void html(const char *txt); 72extern void html(const char *txt);
73extern void htmlf(const char *format,...); 73extern void htmlf(const char *format,...);
74extern void html_txt(char *txt); 74extern void html_txt(char *txt);
75extern void html_attr(char *txt); 75extern void html_attr(char *txt);
76extern void html_link_open(char *url, char *title, char *class); 76extern void html_link_open(char *url, char *title, char *class);
77extern void html_link_close(void); 77extern void html_link_close(void);
78extern void html_filemode(unsigned short mode);
78 79
79extern int cgit_read_config(const char *filename, configfn fn); 80extern int cgit_read_config(const char *filename, configfn fn);
80extern int cgit_parse_query(char *txt, configfn fn); 81extern int cgit_parse_query(char *txt, configfn fn);
81extern struct commitinfo *cgit_parse_commit(struct commit *commit); 82extern struct commitinfo *cgit_parse_commit(struct commit *commit);
82 83
83extern void cache_prepare(struct cacheitem *item); 84extern void cache_prepare(struct cacheitem *item);
84extern int cache_lock(struct cacheitem *item); 85extern int cache_lock(struct cacheitem *item);
85extern int cache_unlock(struct cacheitem *item); 86extern int cache_unlock(struct cacheitem *item);
86extern int cache_cancel_lock(struct cacheitem *item); 87extern int cache_cancel_lock(struct cacheitem *item);
87extern int cache_exist(struct cacheitem *item); 88extern int cache_exist(struct cacheitem *item);
88extern int cache_expired(struct cacheitem *item); 89extern int cache_expired(struct cacheitem *item);
89 90