diff options
author | George Hazan <ghazan@miranda.im> | 2017-01-14 01:22:55 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-01-14 01:22:55 +0300 |
commit | d3cb19278d60ac6f7963379254546cdca36a90e2 (patch) | |
tree | f2fa018b343d5460419c1b323f5f3ce04a393d00 /protocols/AimOscar/src/chat.h | |
parent | d5a6c0666a8d8d2055a3f4402f67f91e8548ec3a (diff) |
separate handle types for HNETLIBCONN & HNETLIBBIND
Diffstat (limited to 'protocols/AimOscar/src/chat.h')
-rw-r--r-- | protocols/AimOscar/src/chat.h | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/protocols/AimOscar/src/chat.h b/protocols/AimOscar/src/chat.h index 5b819544aa..c10d0265da 100644 --- a/protocols/AimOscar/src/chat.h +++ b/protocols/AimOscar/src/chat.h @@ -32,22 +32,26 @@ struct chatnav_param struct chat_list_item
{
- char* id;
- char* cookie;
- HANDLE hconn;
- unsigned short cid;
+ char* id;
+ char* cookie;
+ HNETLIBCONN hconn;
+ unsigned short cid;
unsigned short seqno;
- unsigned short exchange;
- unsigned short instance;
+ unsigned short exchange;
+ unsigned short instance;
char* CHAT_COOKIE;
int CHAT_COOKIE_LENGTH;
- chat_list_item(char* tid, char* tcookie, unsigned short ex, unsigned short in)
- { id = mir_strdup(tid); cid = get_random(); seqno = 0; hconn = NULL;
- cookie = mir_strdup(tcookie); exchange = ex; instance = in; }
+ chat_list_item(char* tid, char* tcookie, unsigned short ex, unsigned short in)
+ {
+ id = mir_strdup(tid); cid = get_random(); seqno = 0; hconn = NULL;
+ cookie = mir_strdup(tcookie); exchange = ex; instance = in;
+ }
- ~chat_list_item()
- { mir_free(id); mir_free(cookie); }
+ ~chat_list_item()
+ {
+ mir_free(id); mir_free(cookie);
+ }
};
#endif
\ No newline at end of file |