13 #include <libotr/context.h>
14 #include <libotr/userstate.h>
19 #define PRIVKEYFNAME "otr.private_key"
20 #define STOREFNAME "otr.fingerprints"
24 extern OtrlUserState otrg_plugin_userstate
;
30 OtrlUserState userstate
;
32 void start_session(OtrlAuthInfo
*auth
);
36 OtrlUserState
get_userstate();
37 bool send_message(const protocolname pname
, const string
&touser
, string
&text
); // return false: do not send message
38 bool receive_message(const protocolname pname
, const string
&from
, string
&text
); // return false: do not show message
40 string
get_msg_state(const protocolname pname
, const string user
);
41 string
is_verified(const protocolname pname
, const string user
);
42 int yesno(const char *question
);
45 void start_session(icqcontact
*contact
);
46 void end_session(icqcontact
*contact
);