blob: f7c60190610b55814c5fd3847fc14c7fff303f11 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
|
#include <glib.h>
#include "config/account.h"
#include "ui/ui.h"
void
omemo_init(void)
{
}
void
omemo_close(void)
{
}
char*
omemo_fingerprint_autocomplete(const char* const search_str, gboolean previous)
{
return NULL;
}
void
omemo_fingerprint_autocomplete_reset(void)
{
}
char*
omemo_format_fingerprint(const char* const fingerprint)
{
return NULL;
}
void
omemo_generate_crypto_materials(ProfAccount* account)
{
}
gboolean
omemo_automatic_start(const char* const jid)
{
return TRUE;
}
gboolean
omemo_is_trusted_identity(const char* const jid, const char* const fingerprint)
{
return TRUE;
}
GList*
omemo_known_device_identities(const char* const jid)
{
return NULL;
}
gboolean
omemo_loaded(void)
{
return TRUE;
}
void
omemo_on_connect(ProfAccount* account)
{
}
void
omemo_on_disconnect(void)
{
}
char*
omemo_on_message_send(ProfWin* win, const char* const message, gboolean request_receipt, gboolean muc)
{
return NULL;
}
char*
omemo_own_fingerprint(gboolean formatted)
{
return NULL;
}
void
omemo_start_muc_sessions(const char* const roomjid)
{
}
void
omemo_start_session(const char* const barejid)
{
}
void
omemo_trust(const char* const jid, const char* const fingerprint_formatted)
{
}
void
omemo_untrust(const char* const jid, const char* const fingerprint_formatted)
{
}
void
omemo_devicelist_publish(GList* device_list)
{
}
void
omemo_publish_crypto_materials(void)
{
}
void
omemo_start_sessions(void)
{
}
char*
omemo_encrypt_file(FILE* in, FILE* out, off_t file_size, int* gcry_res)
{
return NULL;
};
void omemo_free(void* a){};
uint32_t
omemo_device_id()
{
return 123;
}
|