summaryrefslogtreecommitdiffabout
path: root/cgit.h
authorLars Hjemli <hjemli@gmail.com>2006-12-21 23:58:18 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2006-12-21 23:58:18 (UTC)
commit9d8d9b61238df3a855504825e5f735d00289f12b (patch) (unidiff)
treeee4e5b6712abb684b920f1f69683eb2b43c6fd8d /cgit.h
parent378cae639849ba9f020666d1cf6dad6e08bfaf0e (diff)
downloadcgit-9d8d9b61238df3a855504825e5f735d00289f12b.zip
cgit-9d8d9b61238df3a855504825e5f735d00289f12b.tar.gz
cgit-9d8d9b61238df3a855504825e5f735d00289f12b.tar.bz2
Only show first 80 characters of commit subject in log and summary
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
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);