1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00
profanity/tests/unittests/pgp/stub_gpg.c
2015-06-21 20:08:46 +01:00

41 lines
630 B
C

#include <glib.h>
#include "pgp/gpg.h"
void p_gpg_init(void) {}
void p_gpg_close(void) {}
GSList* p_gpg_list_keys(void)
{
return NULL;
}
GHashTable*
p_gpg_fingerprints(void)
{
return NULL;
}
const char* p_gpg_libver(void)
{
return NULL;
}
void p_gpg_free_key(ProfPGPKey *key) {}
void p_gpg_verify(const char * const barejid, const char *const sign) {}
char* p_gpg_sign(const char * const str, const char * const fp)
{
return NULL;
}
gboolean p_gpg_available(const char * const barejid)
{
return FALSE;
}
char * p_gpg_decrypt(const char * const barejid, const char * const cipher)
{
return NULL;
}