ekg2
GIT master
Strona główna
Dodatkowe strony
Moduły
Struktury Danych
Pliki
Lista plików
Globalne
All
Struktury Danych
Pliki
Funkcje
Zmienne
Definicje typów
Wyliczenia
Wartości wyliczeń
Definicje
Grupay
Strony
plugins
icq
icq_caps.h
Idź do dokumentacji tego pliku.
1
#ifndef __ICQ_CAPS_H
2
#define __ICQ_CAPS_H
3
4
typedef
enum
{
5
CAP_HTML
= 0,
6
CAP_NEWCAPS
,
/* Client understands new format of caps */
7
CAP_VOICE
,
/* Client supports voice chat */
8
CAP_AIMDIRPLAY
,
/* Client supports direct play service */
9
CAP_SENDFILE
,
/* Client supports file transfer (can send files) */
10
CAP_ICQDIRECT
,
/* Something called "route finder" (ICQ2K only) */
11
CAP_IMIMAGE
,
/* Client supports DirectIM/IMImage */
12
CAP_BUDDYICON
,
/* Client supports avatar service. */
13
CAP_SAVESTOCKS
,
/* Client supports stocks (add-ins) */
14
CAP_GETFILE
,
/* Client supports filetransfers (can receive files) */
15
CAP_SRV_RELAY
,
/* Client supports channel 2 extended, TLV(0x2711) based messages */
16
CAP_GAMES2
,
/* Client supports games */
17
CAP_GAMES
,
/* Client supports games */
18
CAP_CONTACTS
,
/* Client supports buddy lists transfer */
19
CAP_DEVILS
,
/* Client supports devils */
20
CAP_INTEROPERATE
,
/* Setting this lets AIM users receive messages from ICQ users, and ICQ users receive messages from AIM users */
21
CAP_UTF
,
/* Client supports UTF-8 messages */
22
CAP_XTRAZ
,
23
CAP_TYPING
,
/* Client supports mini typing notifications */
24
CAP_CHAT
,
/* Client supports chat service */
25
CAP_RTF
,
/* Client supports RTF messages */
26
CAP_UNKNOWN
27
}
capabilities_t
;
28
29
#define CAP_UTF8_str "{0946134E-4C7F-11D1-8222-444553540000}"
30
31
const
char
*
icq_capability_name
(
int
id
);
32
33
int
icq_cap_id
(
unsigned
char
*buf);
34
int
icq_short_cap_id
(
unsigned
char
*buf);
35
36
const
unsigned
char
*
icq_cap_str
(
int
id
);
37
38
void
icq_pack_append_cap
(GString *pkt,
int
cap_id);
39
40
41
/*
42
* xStatuses
43
*
44
*/
45
46
#define XSTATUS_COUNT 32
47
#define MAX_ICQMOOD 23
48
49
const
char
*
icq_xstatus_name
(
int
id
);
50
51
int
icq_xstatus_id
(
unsigned
char
*buf);
52
53
void
icq_pack_append_xstatus
(GString *pkt,
int
x_id);
54
55
/*
56
* Plugins
57
*
58
*/
59
typedef
enum
{
60
PSIG_MESSAGE
=0,
// None plugin (zeros)
61
PSIG_STATUS_PLUGIN
,
// Status manager plugin
62
PSIG_INFO_PLUGIN
,
// Info manager plugin
63
MGTYPE_MESSAGE
,
// Message plugin
64
MGTYPE_FILE
,
// File transfer plugin
65
MGTYPE_WEBURL
,
// URL plugin
66
MGTYPE_CHAT
,
// Chat plugin
67
MGTYPE_CONTACTS
,
// Send contact list plugin
68
MGTYPE_SMS_MESSAGE
,
// SMS plugin
69
MGTYPE_GREETING_CARD
,
70
PLUGIN_03
,
// User info plugin
71
PLUGIN_06
,
// Phone info plugin
72
PLUGIN_07
,
// White search plugin
73
PLUGIN_08
,
// Search plugin
74
PLUGIN_13
,
// Features list plugin
75
PLUGIN_14
,
// Ext contacts plugin
76
PLUGIN_15
,
// Random users service
77
PLUGIN_16
,
// Random plugin
78
PLUGIN_17
,
// Wireless pager plugin
79
PLUGIN_18
,
// External plugin
80
PLUGIN_19
,
// Add user wizard plugin
81
PLUGIN_20
,
// Voice message plugin
82
PLUGIN_21
,
// IRCQ plugin
83
PLUGIN_UNKNOWN
84
}
plugins_t
;
85
86
int
icq_plugin_id
(
unsigned
char
*buf);
87
88
#endif
Wygenerowano Wt, 29 paź 2013 20:17:04 dla ekg2 programem
1.8.4