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