1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-22 19:45:54 -04:00

Move ox_gpg_public_keys description

This commit is contained in:
Michael Vetter 2022-06-29 09:20:27 +02:00
parent a40a0f5189
commit 4d215fc33e
2 changed files with 3 additions and 7 deletions

View File

@ -60,6 +60,9 @@ static gboolean _ox_key_is_usable(gpgme_key_t key, const char* const barejid, gb
* *
* This function will look for all public key with a XMPP-URI as UID. * This function will look for all public key with a XMPP-URI as UID.
* *
* @returns GHashTable* with GString* xmpp-uri and ProfPGPKey* value. Empty
* hash, if there is no key. NULL in case of error.
*
*/ */
GHashTable* GHashTable*
ox_gpg_public_keys(void) ox_gpg_public_keys(void)

View File

@ -44,13 +44,6 @@ char* p_ox_gpg_decrypt(char* base64);
void p_ox_gpg_readkey(const char* const filename, char** key, char** fp); void p_ox_gpg_readkey(const char* const filename, char** key, char** fp);
gboolean p_ox_gpg_import(char* base64_public_key); 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); GHashTable* ox_gpg_public_keys(void);
gboolean ox_is_private_key_available(const char* const barejid); gboolean ox_is_private_key_available(const char* const barejid);