mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 12:23:37 +02:00
Add OTR support.
This patch adds support for the OTR protocol to irssi. This is an import of the external irssi-otr project that we are now taking over maintership for. Major thanks to the original authors of Irssi-OTR: Uli Meis and David Goulet. Thanks to the OTR community in #OTR on OFTC, thanks to everyone who have helped testing the patches and submitted UI suggestions.
This commit is contained in:
parent
ad4324d242
commit
016b42baea
25 changed files with 3262 additions and 41 deletions
|
|
@ -9,7 +9,8 @@ AM_CPPFLAGS = \
|
|||
irssi_DEPENDENCIES = \
|
||||
@COMMON_LIBS@ \
|
||||
@PERL_LINK_LIBS@ \
|
||||
@PERL_FE_LINK_LIBS@
|
||||
@PERL_FE_LINK_LIBS@ \
|
||||
@OTR_LINK_LIBS@
|
||||
|
||||
irssi_LDFLAGS = -export-dynamic
|
||||
|
||||
|
|
@ -17,6 +18,8 @@ irssi_LDADD = \
|
|||
@COMMON_LIBS@ \
|
||||
@PERL_LINK_LIBS@ \
|
||||
@PERL_FE_LINK_LIBS@ \
|
||||
@OTR_LINK_LIBS@ \
|
||||
@OTR_LINK_FLAGS@ \
|
||||
@PERL_LINK_FLAGS@ \
|
||||
@PROG_LIBS@ \
|
||||
@TEXTUI_LIBS@
|
||||
|
|
|
|||
|
|
@ -54,6 +54,11 @@ void fe_perl_init(void);
|
|||
void fe_perl_deinit(void);
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_STATIC_OTR
|
||||
void otr_core_init(void);
|
||||
void otr_core_deinit(void);
|
||||
#endif
|
||||
|
||||
void irc_init(void);
|
||||
void irc_deinit(void);
|
||||
|
||||
|
|
@ -183,6 +188,10 @@ static void textui_finish_init(void)
|
|||
fe_perl_init();
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_STATIC_OTR
|
||||
otr_core_init();
|
||||
#endif
|
||||
|
||||
dirty_check();
|
||||
|
||||
fe_common_core_finish_init();
|
||||
|
|
@ -221,8 +230,12 @@ static void textui_deinit(void)
|
|||
module_unload(modules->data);
|
||||
|
||||
#ifdef HAVE_STATIC_PERL
|
||||
perl_core_deinit();
|
||||
fe_perl_deinit();
|
||||
perl_core_deinit();
|
||||
fe_perl_deinit();
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_STATIC_OTR
|
||||
otr_core_deinit();
|
||||
#endif
|
||||
|
||||
dirty_check(); /* one last time to print any quit messages */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue