Do not include silcdefs.h in installed headers anymore. Include
[silc.git] / lib / doc / silcclient_using.html
index 82cf3901704166b8ae394ba1900c08159e6b7dae..780c7f312245d9893499502be4a8d4fd51a692fb 100644 (file)
@@ -313,6 +313,14 @@ capabilities which are also available for client library user.  You should
 have compiled the Toolkit with --enable-debug option so that run-time
 debugging is enabled.
 
+<br />&nbsp;<br />
+Then, to say in your application you would like to use the debugging use
+the SILC_ENABLE_DEBUG macro.  Put this macro to your main header file, or
+some other file that needs the debugging enabled.  After using this macro
+you are able to use the debugging routines provided by the SILC Toolkit.  
+Note that, the Toolkit library must be compiled with --enable-debug for
+this macro to have any effect.
+
 <br />&nbsp;<br />
 To turn on the run-time debugging set the global variable "silc_debug" to
 TRUE.  To see packet hexdumps you can set also "silc_debug_hexdump" to TRUE.
@@ -423,12 +431,6 @@ int main()
           in includes/version.h file. */
        client = silc_client_alloc(&ops, NULL, NULL, silc_version_string);
 
-       /* Register default ciphers, pkcs, hash funtions and hmacs. */
-       silc_cipher_register_default();
-       silc_pkcs_register_default();
-       silc_hash_register_default();
-       silc_hmac_register_default();
-
        /* Set the mandatory pointers, read public and private key from
           files (or somewhere) and return pointers and PKCS context. */
        client->username = silc_get_username();