author | Lars Hjemli <hjemli@gmail.com> | 2006-12-21 23:58:18 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2006-12-21 23:58:18 (UTC) |
commit | 9d8d9b61238df3a855504825e5f735d00289f12b (patch) (unidiff) | |
tree | ee4e5b6712abb684b920f1f69683eb2b43c6fd8d /cgit.h | |
parent | 378cae639849ba9f020666d1cf6dad6e08bfaf0e (diff) | |
download | cgit-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>
-rw-r--r-- | cgit.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -64,24 +64,25 @@ extern int htmlfd; | |||
64 | 64 | ||
65 | extern void cgit_global_config_cb(const char *name, const char *value); | 65 | extern void cgit_global_config_cb(const char *name, const char *value); |
66 | extern void cgit_repo_config_cb(const char *name, const char *value); | 66 | extern void cgit_repo_config_cb(const char *name, const char *value); |
67 | extern void cgit_querystring_cb(const char *name, const char *value); | 67 | extern void cgit_querystring_cb(const char *name, const char *value); |
68 | 68 | ||
69 | extern void *cgit_free_commitinfo(struct commitinfo *info); | 69 | extern void *cgit_free_commitinfo(struct commitinfo *info); |
70 | 70 | ||
71 | extern char *fmt(const char *format,...); | 71 | extern char *fmt(const char *format,...); |
72 | 72 | ||
73 | extern void html(const char *txt); | 73 | extern void html(const char *txt); |
74 | extern void htmlf(const char *format,...); | 74 | extern void htmlf(const char *format,...); |
75 | extern void html_txt(char *txt); | 75 | extern void html_txt(char *txt); |
76 | extern void html_ntxt(int len, char *txt); | ||
76 | extern void html_attr(char *txt); | 77 | extern void html_attr(char *txt); |
77 | extern void html_link_open(char *url, char *title, char *class); | 78 | extern void html_link_open(char *url, char *title, char *class); |
78 | extern void html_link_close(void); | 79 | extern void html_link_close(void); |
79 | extern void html_filemode(unsigned short mode); | 80 | extern void html_filemode(unsigned short mode); |
80 | 81 | ||
81 | extern int cgit_read_config(const char *filename, configfn fn); | 82 | extern int cgit_read_config(const char *filename, configfn fn); |
82 | extern int cgit_parse_query(char *txt, configfn fn); | 83 | extern int cgit_parse_query(char *txt, configfn fn); |
83 | extern struct commitinfo *cgit_parse_commit(struct commit *commit); | 84 | extern struct commitinfo *cgit_parse_commit(struct commit *commit); |
84 | 85 | ||
85 | extern void cache_prepare(struct cacheitem *item); | 86 | extern void cache_prepare(struct cacheitem *item); |
86 | extern int cache_lock(struct cacheitem *item); | 87 | extern int cache_lock(struct cacheitem *item); |
87 | extern int cache_unlock(struct cacheitem *item); | 88 | extern int cache_unlock(struct cacheitem *item); |