Added SILC_MESSAGE_FLAG_UTF8 and implemented it. All messages
[crypto.git] / apps / irssi / src / silc / core / silc-servers.h
index 7add2f55494dc71f66ee9cdab5924a228a44c019..7b319766ee7cfbac09381fc600591e62a1540e56 100644 (file)
@@ -24,15 +24,15 @@ typedef struct {
 typedef struct {
   SilcClientEntry client_entry;
   SilcClientConnection conn;
-  uint32 session_id;
+  SilcUInt32 session_id;
   char *filepath;
   bool send;
 
   long starttime;              /* Start time of transfer */
   double kps;                  /* Kilos per second */
-  uint64 offset;               /* Current offset */
-  uint64 filesize;             /* Total file size */
-  uint32 percent;              /* Percent of current transmission */
+  SilcUInt64 offset;           /* Current offset */
+  SilcUInt64 filesize;         /* Total file size */
+  SilcUInt32 percent;          /* Percent of current transmission */
 } *FtpSession;
 
 #define STRUCT_SERVER_CONNECT_REC SILC_SERVER_CONNECT_REC
@@ -56,6 +56,7 @@ typedef struct {
   
   gpointer chanqueries;
   SilcClientConnection conn;
+  SilcUInt32 umode;
 } SILC_SERVER_REC;
 
 SILC_SERVER_REC *silc_server_connect(SILC_SERVER_CONNECT_REC *conn);
@@ -69,5 +70,6 @@ void silc_server_init(void);
 void silc_server_deinit(void);
 void silc_server_free_ftp(SILC_SERVER_REC *server,
                          SilcClientEntry client_entry);
+bool silc_term_utf8(void);
 
 #endif