Go to the source code of this file.
|
#define | COAL_QUERY_COMMANDS 0 |
|
#define | COAL_COMMAND 1 |
|
#define | COAL_EVENT 2 |
|
#define | COAL_LOGIN 3 |
|
#define | COAL_LOGOUT 4 |
|
#define | COAL_FILE_DOWNLOAD 5 |
|
#define | COAL_FILE_UPLOAD 6 |
|
#define | COAL_QUERY_PROGRAMS 7 |
|
#define | COAL_ERROR 8 |
|
#define | COAL_SET_CLIENT 9 |
|
#define | COAL_UPLOAD_START 10 |
|
#define | COAL_UPLOAD_PACKAGE 11 |
|
#define | COAL_CRYPT 12 |
|
#define | COAL_UPLOAD_FINISHED 13 |
|
#define | COAL_PING 14 |
|
#define | COAL_PONG 15 |
|
#define | COAL_LOG 16 |
|
#define | COAL_RETR_LOG 17 |
|
#define | COAL_SUBSCRIBE 18 |
|
#define | COAL_UNSUBSCRIBE 19 |
|
#define | COAL_REG_SERVICE 20 |
|
#define | COAL_RELOGIN 21 |
|
#define | COAL_SERVERHELLO 22 |
|
#define | COAL_GETOBJECT 23 |
|
#define | COAL_SENDOBJECT 24 |
|
#define | COAL_TIMEOUT 600 |
|
#define | _COAL_OK 0 |
|
#define | SEND_ERROR(e, d, t, oid, cid, cmd, args, bt) send_message(coal_compose(t, COAL_ERROR, oid,cid, ({ e, d, cmd, args, bt }) )) |
|
#define | SEND_COAL(t, cmd, o, cid, a) send_message(coal_compose(t, cmd, o, cid, a )) |
|
#define | HL_CMD 0 |
|
#define | HL_ARGS 1 |
|
#define | HL_REST 2 |
|
#define | COALLINE_TID 0 |
|
#define | COALLINE_COMMAND 1 |
|
#define | COALLINE_OBJECT 2 |
|
#define | COALLINE_NAMESPACE 3 |
|
#define | COALLINE_SERVER 4 |
|
#define | INT2BYTES(arg) |
|
#define | COMMAND_BEGIN_MASK 255 |
|
#define | COMMAND_RAW 127 |
|
#define | USE_LAST_TID -1 |
|
#define | LONG_INTEGER ((int)(1<<31)>0) |
|
#define | COAL_TRANSFER_RCV 1 |
|
#define | COAL_TRANSFER_SEND 2 |
|
#define | COAL_TRANSFER_NONE 0 |
|
#define | CLIENT_CLASS_STEAM "steam" |
|
#define | CLIENT_CLASS_FTP "ftp" |
|
#define | CLIENT_CLASS_HTTP "http" |
|
#define | CLIENT_CLASS_SERVER "peer" |
|
#define | CRYPT_KEY 512 |
|
#define | CRYPT_WSIZE (CRYPT_KEY/16) |
|
#define | CRYPT_RSIZE (CRYPT_KEY/8) |
|
#define | COAL_VERSION "1.0" |
|
#define CLIENT_CLASS_FTP "ftp" |
#define CLIENT_CLASS_HTTP "http" |
#define CLIENT_CLASS_SERVER "peer" |
#define CLIENT_CLASS_STEAM "steam" |
#define COAL_FILE_DOWNLOAD 5 |
#define COAL_FILE_UPLOAD 6 |
#define COAL_GETOBJECT 23 |
#define COAL_QUERY_COMMANDS 0 |
#define COAL_QUERY_PROGRAMS 7 |
#define COAL_REG_SERVICE 20 |
#define COAL_SENDOBJECT 24 |
#define COAL_SERVERHELLO 22 |
#define COAL_SET_CLIENT 9 |
#define COAL_SUBSCRIBE 18 |
#define COAL_TRANSFER_NONE 0 |
#define COAL_TRANSFER_RCV 1 |
#define COAL_TRANSFER_SEND 2 |
#define COAL_UNSUBSCRIBE 19 |
#define COAL_UPLOAD_FINISHED 13 |
#define COAL_UPLOAD_PACKAGE 11 |
#define COAL_UPLOAD_START 10 |
#define COAL_VERSION "1.0" |
#define COALLINE_COMMAND 1 |
#define COALLINE_NAMESPACE 3 |
#define COALLINE_OBJECT 2 |
#define COALLINE_SERVER 4 |
#define COMMAND_BEGIN_MASK 255 |
Value:str[1] = (arg & ( 255 << 24));\
str[2] = (arg & ( 255 << 16));\
str[3] = (arg & ( 255 << 8));\
str[4] = (arg & ( 255 ))
Definition at line 69 of file coal.h.
#define LONG_INTEGER ((int)(1<<31)>0) |
#define SEND_COAL |
( |
|
t, |
|
|
|
cmd, |
|
|
|
o, |
|
|
|
cid, |
|
|
|
a |
|
) |
| send_message(coal_compose(t, cmd, o, cid, a )) |
#define SEND_ERROR |
( |
|
e, |
|
|
|
d, |
|
|
|
t, |
|
|
|
oid, |
|
|
|
cid, |
|
|
|
cmd, |
|
|
|
args, |
|
|
|
bt |
|
) |
| send_message(coal_compose(t, COAL_ERROR, oid,cid, ({ e, d, cmd, args, bt }) )) |