Add the new API to the reference documentation
authorMikael Berthe <mikael@lilotux.net>
Tue, 10 Nov 2015 10:38:12 +0100
changeset 675 617e0120bb0f
parent 674 aecff03258ef
child 676 745e7d2e5831
Add the new API to the reference documentation
docs/reference/loudmouth-sections.txt
loudmouth/lm-ssl-generic.c
--- a/docs/reference/loudmouth-sections.txt	Fri Nov 06 18:55:02 2015 +0000
+++ b/docs/reference/loudmouth-sections.txt	Tue Nov 10 10:38:12 2015 +0100
@@ -109,6 +109,8 @@
 lm_ssl_new
 lm_ssl_is_supported
 lm_ssl_get_fingerprint
+lm_ssl_set_ca
+lm_ssl_set_cipher_list
 lm_ssl_ref
 lm_ssl_unref
 </SECTION>
--- a/loudmouth/lm-ssl-generic.c	Fri Nov 06 18:55:02 2015 +0000
+++ b/loudmouth/lm-ssl-generic.c	Tue Nov 10 10:38:12 2015 +0100
@@ -168,6 +168,14 @@
     return ssl;
 }
 
+/**
+ * lm_ssl_set_cipher_list:
+ * @ssl: an #LmSSL
+ * @cipher_list: list of ciphers
+ *
+ * Sets the list of availeble ciphers.
+ *
+ **/
 void
 lm_ssl_set_cipher_list (LmSSL       *ssl,
                         const gchar *cipher_list)
@@ -183,7 +191,6 @@
  * Sets a path to certificates which should be trusted.
  *
  **/
-
 void
 lm_ssl_set_ca (LmSSL *ssl, const gchar    *ca_path)
 {