from lib/silcske and general utility routines from lib/silcutil.
<br /> <br />
-The `silcapi.h' file defines the function prototypes that application
+The `silcclient.h' file defines the function prototypes that application
must implement in order to be able to create the user interface with the
library. The idea is that the application can implement whatever user
interface routines in the functions and display the data whatever way
it wants. The library is entirely transparent to the user interface and
it does not include any user interface specific issues such as window
handling or item handling on the screen etc. These does not interest
-the library. The `silcapi.h' also defines the client libary interface
+the library. The `silcclient.h' also defines the client libary interface
the application can call. The interface includes for example functions
for sending channel and private messages, client and channel retrieval
and other utility functions.
<br /> <br />
<tt>
#include "silcincludes.h"<br />
-#include "clientlibincludes.h"
-</tt>
-
-<br /> <br />
-If you are compiling with C++ compiler then you need to include the
-headers as follows:
-
-<br /> <br />
-<tt>
-extern "C" {<br />
-#include "silcincludes.h"<br />
-#include "clientlibincludes.h"<br &/>
-}
+#include "silcclient.h"
</tt>
manner:
<br /> <br />
-<tt> SilcClient client = silc_client_alloc(&ops, params, context, version);</tt>
+<tt> SilcClient client = silc_client_alloc(&ops, params, context, silc_version_string);</tt>
<br /> <br />
`ops' is the static structure of client operations that library will call.
specific context can be retrieved from the SilcClient object. See
`client.h' file for detailed definition of SilcClient object.
+<br /> <br />
+The `silc_version_string' is the current protocol version string, and you
+can get it by including `silcversion.h' header in your source code.
+
<br /> <br />
`ops' can be defined for example as follows:
<br /> <br />
<pre>
#include "silcincludes.h"
-#include "silcapi.h"
+#include "silcclient.h"
int main()
{