diff options
Diffstat (limited to 'src/LYHistory.h')
-rw-r--r-- | src/LYHistory.h | 44 |
1 files changed, 25 insertions, 19 deletions
diff --git a/src/LYHistory.h b/src/LYHistory.h index c5cc8a94..249304f5 100644 --- a/src/LYHistory.h +++ b/src/LYHistory.h @@ -5,24 +5,30 @@ #include <LYStructs.h> #endif /* LYSTRUCTS_H */ -extern BOOLEAN LYwouldPush(const char *title, const char *docurl); -extern BOOLEAN historytarget(DocInfo *newdoc); -extern int LYShowVisitedLinks(char **newfile); -extern int LYhist_next(DocInfo *doc, DocInfo *newdoc); -extern int LYpush(DocInfo *doc, BOOLEAN force_push); -extern int showhistory(char **newfile); -extern void LYAddVisitedLink(DocInfo *doc); -extern void LYAllocHistory(int entries); -extern void LYFreePostData(DocInfo *data); -extern void LYFreeDocInfo(DocInfo *data); -extern void LYhist_prev(DocInfo *doc); -extern void LYhist_prev_register(DocInfo *doc); -extern void LYpop(DocInfo *doc); -extern void LYpop_num(int number, DocInfo *doc); -extern void LYstatusline_messages_on_exit(char **buf); -extern void LYstore_message(const char *message); -extern void LYstore_message2(const char *message, const char *argument); +#ifdef __cplusplus +extern "C" { +#endif + extern BOOLEAN LYwouldPush(const char *title, const char *docurl); + extern BOOLEAN historytarget(DocInfo *newdoc); + extern int LYShowVisitedLinks(char **newfile); + extern int LYhist_next(DocInfo *doc, DocInfo *newdoc); + extern int LYpush(DocInfo *doc, BOOLEAN force_push); + extern int showhistory(char **newfile); + extern void LYAddVisitedLink(DocInfo *doc); + extern void LYAllocHistory(int entries); + extern void LYFreePostData(DocInfo *data); + extern void LYFreeDocInfo(DocInfo *data); + extern void LYhist_prev(DocInfo *doc); + extern void LYhist_prev_register(DocInfo *doc); + extern void LYpop(DocInfo *doc); + extern void LYpop_num(int number, DocInfo *doc); + extern void LYstatusline_messages_on_exit(char **buf); + extern void LYstore_message(const char *message); + extern void LYstore_message2(const char *message, const char *argument); -extern int nhist_extra; + extern int nhist_extra; -#endif /* LYHISTORY_H */ +#ifdef __cplusplus +} +#endif +#endif /* LYHISTORY_H */ |