Mercurial > pidgin
comparison libpurple/protocols/silc/silcpurple.h @ 21044:6b02dba5bf41
Patch from Pekka Riikone to fix various SILC issues.
Fixes: #3103
author | Ethan Blanton <elb@pidgin.im> |
---|---|
date | Mon, 29 Oct 2007 00:19:53 +0000 |
parents | 9a96d8711303 |
children | 1cdae196aac8 |
comparison
equal
deleted
inserted
replaced
21043:6b9e304272e4 | 21044:6b02dba5bf41 |
---|---|
33 #include "request.h" | 33 #include "request.h" |
34 #include "roomlist.h" | 34 #include "roomlist.h" |
35 #include "server.h" | 35 #include "server.h" |
36 #include "util.h" | 36 #include "util.h" |
37 | 37 |
38 #undef SILC_VERSION | |
39 #define SILC_VERSION(a, b, c) (((a) << 24) + ((b) << 16) + ((c) << 8)) | |
40 | |
38 /* Default public and private key file names */ | 41 /* Default public and private key file names */ |
39 #define SILCPURPLE_PUBLIC_KEY_NAME "public_key.pub" | 42 #define SILCPURPLE_PUBLIC_KEY_NAME "public_key.pub" |
40 #define SILCPURPLE_PRIVATE_KEY_NAME "private_key.prv" | 43 #define SILCPURPLE_PRIVATE_KEY_NAME "private_key.prv" |
41 | 44 |
42 /* Default settings for creating key pair */ | 45 /* Default settings for creating key pair */ |
66 typedef struct SilcPurpleStruct { | 69 typedef struct SilcPurpleStruct { |
67 SilcClient client; | 70 SilcClient client; |
68 SilcClientConnection conn; | 71 SilcClientConnection conn; |
69 SilcPublicKey public_key; | 72 SilcPublicKey public_key; |
70 SilcPrivateKey private_key; | 73 SilcPrivateKey private_key; |
74 SilcHash sha1hash; | |
71 | 75 |
76 SilcDList tasks; | |
72 guint scheduler; | 77 guint scheduler; |
73 PurpleConnection *gc; | 78 PurpleConnection *gc; |
74 PurpleAccount *account; | 79 PurpleAccount *account; |
75 unsigned long channel_ids; | 80 unsigned long channel_ids; |
76 GList *grps; | 81 GList *grps; |