mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-28 07:26:22 +00:00
Split ox functions from gpg.c to ox.c
This commit is contained in:
@@ -74,23 +74,7 @@ char* p_gpg_autocomplete_key(const char* const search_str, gboolean previous, vo
|
||||
void p_gpg_autocomplete_key_reset(void);
|
||||
char* p_gpg_format_fp_str(char* fp);
|
||||
|
||||
char* p_ox_gpg_signcrypt(const char* const sender_barejid, const char* const recipient_barejid, const char* const message);
|
||||
|
||||
char* p_ox_gpg_decrypt(char* base64);
|
||||
|
||||
void p_ox_gpg_readkey(const char* const filename, char** key, char** fp);
|
||||
gboolean p_ox_gpg_import(char* base64_public_key);
|
||||
|
||||
/*!
|
||||
* \brief List of public keys with xmpp-URI.
|
||||
*
|
||||
* @returns GHashTable* with GString* xmpp-uri and ProfPGPKey* value. Empty
|
||||
* hash, if there is no key. NULL in case of error.
|
||||
*
|
||||
*/
|
||||
GHashTable* ox_gpg_public_keys(void);
|
||||
|
||||
gboolean ox_is_private_key_available(const char* const barejid);
|
||||
gboolean ox_is_public_key_available(const char* const barejid);
|
||||
ProfPGPKey* p_gpg_key_new(void);
|
||||
void p_gpg_free_key(ProfPGPKey* key);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user