libpurple/protocols/silc/silcpurple.h

branch
release-2.2.3
changeset 20289
5c844288fbec
parent 17680
28241b48536e
child 30708
535bec1e66fb
equal deleted inserted replaced
20288:5ca925a094e2 20289:5c844288fbec
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;

mercurial