1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-06-23 21:45:30 +00:00

Add OX test stubs

This commit is contained in:
Michael Vetter 2020-06-29 21:21:16 +02:00
parent 31ec640d05
commit 60f4098846
2 changed files with 16 additions and 0 deletions

View File

@ -67,3 +67,14 @@ p_gpg_format_fp_str(char *fp)
return NULL;
}
gboolean ox_is_private_key_available(const char *const barejid) {
return FALSE;
}
gboolean ox_is_public_key_available(const char *const barejid) {
return FALSE;
}
GHashTable* ox_gpg_public_keys(void) {
return NULL;
}

View File

@ -122,6 +122,11 @@ char* message_send_chat_pgp(const char * const barejid, const char * const msg,
return NULL;
}
char* message_send_chat_ox(const char * const barejid, const char * const msg, gboolean request_receipt, const char *const replace_id)
{
return NULL;
}
char* message_send_private(const char *const fulljid, const char *const msg, const char *const oob_url)
{
return NULL;