X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=blobdiff_plain;f=apps%2Firssi%2Fsrc%2Fsilc%2Fcore%2Fsilc-servers.h;h=965e1f9661b3ba0d7025a05848d4d157b0065d8b;hp=a790fa39cb4d5fbbb50db716502e2180b3d8ad12;hb=a818c5b5411bbc4436d1c5f011236985c96bb787;hpb=83c73dffa89141bc59e62436abb63b3d3efca6bb diff --git a/apps/irssi/src/silc/core/silc-servers.h b/apps/irssi/src/silc/core/silc-servers.h index a790fa39..965e1f96 100644 --- a/apps/irssi/src/silc/core/silc-servers.h +++ b/apps/irssi/src/silc/core/silc-servers.h @@ -24,9 +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 */ + 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 @@ -50,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);