2015-03-21 20:12:14 -04:00
|
|
|
#include <glib.h>
|
|
|
|
|
2015-03-21 21:03:06 -04:00
|
|
|
#include "pgp/gpg.h"
|
|
|
|
|
2015-03-21 20:12:14 -04:00
|
|
|
void p_gpg_init(void) {}
|
2015-03-23 20:47:13 -04:00
|
|
|
void p_gpg_close(void) {}
|
2015-03-21 20:29:57 -04:00
|
|
|
|
2015-08-24 19:21:49 -04:00
|
|
|
GHashTable* p_gpg_list_keys(void)
|
2015-03-21 20:12:14 -04:00
|
|
|
{
|
|
|
|
return NULL;
|
|
|
|
}
|
2015-03-21 20:29:57 -04:00
|
|
|
|
2015-03-23 20:47:13 -04:00
|
|
|
GHashTable*
|
2015-08-25 17:45:51 -04:00
|
|
|
p_gpg_pubkeys(void)
|
2015-03-23 20:47:13 -04:00
|
|
|
{
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
|
|
|
const char* p_gpg_libver(void)
|
|
|
|
{
|
2015-03-21 20:29:57 -04:00
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
2015-05-07 17:22:28 -04:00
|
|
|
void p_gpg_verify(const char * const barejid, const char *const sign) {}
|
2015-05-07 19:07:21 -04:00
|
|
|
|
|
|
|
char* p_gpg_sign(const char * const str, const char * const fp)
|
|
|
|
{
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
2015-12-14 19:38:16 -05:00
|
|
|
gboolean p_gpg_valid_key(const char * const keyid, char **err_str)
|
2015-08-23 18:09:44 -04:00
|
|
|
{
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
2015-06-20 18:49:24 -04:00
|
|
|
gboolean p_gpg_available(const char * const barejid)
|
|
|
|
{
|
|
|
|
return FALSE;
|
|
|
|
}
|
2015-08-23 19:13:57 -04:00
|
|
|
char * p_gpg_decrypt(const char * const cipher)
|
2015-06-21 15:08:46 -04:00
|
|
|
{
|
|
|
|
return NULL;
|
|
|
|
}
|
2015-06-23 18:29:10 -04:00
|
|
|
|
|
|
|
void p_gpg_on_connect(const char * const barejid) {}
|
|
|
|
void p_gpg_on_disconnect(void) {}
|
|
|
|
|
|
|
|
gboolean p_gpg_addkey(const char * const jid, const char * const keyid)
|
|
|
|
{
|
|
|
|
return TRUE;
|
|
|
|
}
|
|
|
|
|
2015-08-10 20:00:23 -04:00
|
|
|
void p_gpg_free_decrypted(char *decrypted) {}
|
|
|
|
|
2015-08-24 19:21:49 -04:00
|
|
|
void p_gpg_free_keys(GHashTable *keys) {}
|
|
|
|
|
2015-08-25 18:44:03 -04:00
|
|
|
void p_gpg_autocomplete_key_reset(void) {}
|
|
|
|
|
2020-01-30 17:44:43 -05:00
|
|
|
char * p_gpg_autocomplete_key(const char * const search_str, gboolean previous, void *context)
|
2015-08-25 18:44:03 -04:00
|
|
|
{
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
2015-08-29 21:12:05 -04:00
|
|
|
char *
|
|
|
|
p_gpg_format_fp_str(char *fp)
|
|
|
|
{
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
2020-06-29 15:21:16 -04:00
|
|
|
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;
|
|
|
|
}
|