Integer type name change.
[silc.git] / lib / silcclient / client_ops_example.c
index 87765460615274980ce662c224ddf1b7d7f0523c..bb17c1a4cd2ca41f594c3ffad34c1459524f7f24 100644 (file)
@@ -5,7 +5,7 @@
 
    At the end of this file SilcClientOperation structure is defined, and
    it is the one the you will give as an argument to the silc_client_alloc
-   function. See also lib/silcclient/README file, and silcapi.h. */
+   function. See also lib/silcclient/README file, and silcclient.h. */
 
 
 /* Message sent to the application by library. `conn' associates the
@@ -22,8 +22,9 @@ silc_say(SilcClient client, SilcClientConnection conn,
 }
 
 
-/* Message for a channel. The `sender' is the sender of the message 
-   The `channel' is the channel. */
+/* Message for a channel. The `sender' is the sender of the message
+   The `channel' is the channel. The `msg' is the message.  Note that  
+   `msg' maybe NULL. */
 
 static void 
 silc_channel_message(SilcClient client, SilcClientConnection conn, 
@@ -136,7 +137,7 @@ silc_disconnect(SilcClient client, SilcClientConnection conn)
 
 static void 
 silc_get_auth_method(SilcClient client, SilcClientConnection conn, 
-                    char *hostname, uint16 port, SilcGetAuthMeth completion, 
+                    char *hostname, SilcUInt16 port, SilcGetAuthMeth completion, 
                     void *context)
 {
 
@@ -151,7 +152,7 @@ silc_get_auth_method(SilcClient client, SilcClientConnection conn,
 static void 
 silc_verify_public_key(SilcClient client, SilcClientConnection conn, 
                       SilcSocketType conn_type, unsigned char *pk, 
-                      uint32 pk_len, SilcSKEPKType pk_type, 
+                      SilcUInt32 pk_len, SilcSKEPKType pk_type, 
                       SilcVerifyPublicKey completion, void *context)
 {
 
@@ -197,7 +198,7 @@ silc_failure(SilcClient client, SilcClientConnection conn,
 static int 
 silc_key_agreement(SilcClient client, SilcClientConnection conn, 
                   SilcClientEntry client_entry, const char *hostname, 
-                  uint16 port, SilcKeyAgreementCallback *completion, 
+                  SilcUInt16 port, SilcKeyAgreementCallback *completion, 
                   void **context)
 {
 
@@ -213,8 +214,8 @@ silc_key_agreement(SilcClient client, SilcClientConnection conn,
 
 static void 
 silc_ftp(SilcClient client, SilcClientConnection conn, 
-        SilcClientEntry client_entry, uint32 session_id, 
-        const char *hostname, uint16 port)
+        SilcClientEntry client_entry, SilcUInt32 session_id, 
+        const char *hostname, SilcUInt16 port)
 {
 
 }