summaryrefslogtreecommitdiff
path: root/protocols/AimOscar/src/chat.h
diff options
context:
space:
mode:
authordartraiden <wowemuh@gmail.com>2017-12-22 01:15:21 +0300
committerdartraiden <wowemuh@gmail.com>2017-12-22 01:15:21 +0300
commit4939e7962d95624a73d645734369227e623085be (patch)
treeb08cfa93c1aba937c2d454d84ed48fca492943be /protocols/AimOscar/src/chat.h
parent38a94b0671d59f449a86e6056affb429061d9228 (diff)
AIM: move to deprecated
Diffstat (limited to 'protocols/AimOscar/src/chat.h')
-rw-r--r--protocols/AimOscar/src/chat.h57
1 files changed, 0 insertions, 57 deletions
diff --git a/protocols/AimOscar/src/chat.h b/protocols/AimOscar/src/chat.h
deleted file mode 100644
index c10d0265da..0000000000
--- a/protocols/AimOscar/src/chat.h
+++ /dev/null
@@ -1,57 +0,0 @@
-#ifndef CHAT_H
-#define CHAT_H
-
-struct chatnav_param
-{
- char* id;
- unsigned short exchange;
- unsigned short instance;
-
- char* message;
- char* sn;
- char* icbm_cookie;
-
- bool isroom;
-
- chatnav_param(char* tid, unsigned short ex, unsigned short in, char* msg, char* nm, char* icki)
- { id = tid; exchange = ex; instance = in; isroom = false;
- message = mir_strdup(msg); sn = mir_strdup(nm); icbm_cookie = (char*)mir_alloc(8); memcpy(icbm_cookie, icki, 8); }
-
- chatnav_param(char* tid, unsigned short ex)
- { id = mir_strdup(tid); exchange = ex; isroom = true;
- message = NULL; sn = NULL; icbm_cookie = NULL; }
-
- ~chatnav_param()
- {
- mir_free(id);
- mir_free(message);
- mir_free(sn);
- mir_free(icbm_cookie);
- }
-};
-
-struct chat_list_item
-{
- char* id;
- char* cookie;
- HNETLIBCONN hconn;
- unsigned short cid;
- unsigned short seqno;
- 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()
- {
- mir_free(id); mir_free(cookie);
- }
-};
-
-#endif \ No newline at end of file