about summary refs log tree commit diff stats
path: root/tests/otr/mock_otr.h
blob: ab28ed6c1728fa7214fedb8600cda9b449bbe519 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef MOCK_OTR_H
#define MOCK_OTR_H

#include "config/account.h"

void otr_keygen_expect(ProfAccount *account);
void otr_key_loaded_returns(gboolean loaded);

void otr_libotr_version_returns(char *version);

void otr_get_my_fingerprint_returns(char *fingerprint);
void otr_get_their_fingerprint_expect_and_return(char *recipient, char *fingerprint);

void otr_start_query_returns(char *query);

#endif