about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2022-06-29 09:20:27 +0200
committerMichael Vetter <jubalh@iodoru.org>2022-06-29 09:20:27 +0200
commit4d215fc33e12a952bcd9f0971391854c141ffb54 (patch)
treec633a2909fb6f465d0a9972c66d5d82bb252e118
parenta40a0f51895025b23384bba680e8d48cfe62c607 (diff)
downloadprofani-tty-4d215fc33e12a952bcd9f0971391854c141ffb54.tar.gz
Move ox_gpg_public_keys description
-rw-r--r--src/pgp/ox.c3
-rw-r--r--src/pgp/ox.h7
2 files changed, 3 insertions, 7 deletions
diff --git a/src/pgp/ox.c b/src/pgp/ox.c
index 3365c2d7..aa240669 100644
--- a/src/pgp/ox.c
+++ b/src/pgp/ox.c
@@ -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.
  *
+ * @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)
diff --git a/src/pgp/ox.h b/src/pgp/ox.h
index 60a3a5c1..7f6381b4 100644
--- a/src/pgp/ox.h
+++ b/src/pgp/ox.h
@@ -44,13 +44,6 @@ 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);