mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-26 16:46:21 +00:00
Added SMP secret libotr 4.0.0 handlers
This commit is contained in:
@@ -43,6 +43,24 @@ static char *jid;
|
||||
static gboolean data_loaded;
|
||||
static GHashTable *smp_initiators;
|
||||
|
||||
OtrlUserState
|
||||
otr_userstate(void)
|
||||
{
|
||||
return user_state;
|
||||
}
|
||||
|
||||
OtrlMessageAppOps *
|
||||
otr_messageops(void)
|
||||
{
|
||||
return &ops;
|
||||
}
|
||||
|
||||
GHashTable *
|
||||
otr_smpinitators(void)
|
||||
{
|
||||
return smp_initiators;
|
||||
}
|
||||
|
||||
// ops callbacks
|
||||
static OtrlPolicy
|
||||
cb_policy(void *opdata, ConnContext *context)
|
||||
|
||||
Reference in New Issue
Block a user