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 bba2d6c..362b435 100644
--- a/cgit.h
+++ b/cgit.h
@@ -64,24 +64,25 @@ extern int htmlfd;
64 64
65extern void cgit_global_config_cb(const char *name, const char *value); 65extern void cgit_global_config_cb(const char *name, const char *value);
66extern void cgit_repo_config_cb(const char *name, const char *value); 66extern void cgit_repo_config_cb(const char *name, const char *value);
67extern void cgit_querystring_cb(const char *name, const char *value); 67extern void cgit_querystring_cb(const char *name, const char *value);
68 68
69extern void *cgit_free_commitinfo(struct commitinfo *info); 69extern void *cgit_free_commitinfo(struct commitinfo *info);
70 70
71extern char *fmt(const char *format,...); 71extern char *fmt(const char *format,...);
72 72
73extern void html(const char *txt); 73extern void html(const char *txt);
74extern void htmlf(const char *format,...); 74extern void htmlf(const char *format,...);
75extern void html_txt(char *txt); 75extern void html_txt(char *txt);
76extern void html_ntxt(int len, char *txt);
76extern void html_attr(char *txt); 77extern void html_attr(char *txt);
77extern void html_link_open(char *url, char *title, char *class); 78extern void html_link_open(char *url, char *title, char *class);
78extern void html_link_close(void); 79extern void html_link_close(void);
79extern void html_filemode(unsigned short mode); 80extern void html_filemode(unsigned short mode);
80 81
81extern int cgit_read_config(const char *filename, configfn fn); 82extern int cgit_read_config(const char *filename, configfn fn);
82extern int cgit_parse_query(char *txt, configfn fn); 83extern int cgit_parse_query(char *txt, configfn fn);
83extern struct commitinfo *cgit_parse_commit(struct commit *commit); 84extern struct commitinfo *cgit_parse_commit(struct commit *commit);
84 85
85extern void cache_prepare(struct cacheitem *item); 86extern void cache_prepare(struct cacheitem *item);
86extern int cache_lock(struct cacheitem *item); 87extern int cache_lock(struct cacheitem *item);
87extern int cache_unlock(struct cacheitem *item); 88extern int cache_unlock(struct cacheitem *item);