libpurple/protocols/myspace/myspace.h

branch
soc.2007.msimprpl
changeset 17919
ae521ade39f1
parent 17911
8c54f28e3067
child 17924
191c78db42ae
equal deleted inserted replaced
17918:eadfbe4e1d64 17919:ae521ade39f1
80 #define MSIM_PORT 1863 /* TODO: alternate ports and automatic */ 80 #define MSIM_PORT 1863 /* TODO: alternate ports and automatic */
81 81
82 /* Constants */ 82 /* Constants */
83 #define HASH_SIZE 0x14 /**< Size of SHA-1 hash for login */ 83 #define HASH_SIZE 0x14 /**< Size of SHA-1 hash for login */
84 #define NONCE_SIZE 0x20 /**< Half of decoded 'nc' field */ 84 #define NONCE_SIZE 0x20 /**< Half of decoded 'nc' field */
85 #define MSIM_READ_BUF_SIZE 5 * 1024 /**< Receive buffer size */ 85 #define MSIM_READ_BUF_SIZE (5 * 1024) /**< Receive buffer size */
86 #define MSIM_FINAL_STRING "\\final\\" /**< Message end marker */ 86 #define MSIM_FINAL_STRING "\\final\\" /**< Message end marker */
87 87
88 /* Messages */ 88 /* Messages */
89 #define MSIM_BM_INSTANT 1 89 #define MSIM_BM_INSTANT 1
90 #define MSIM_BM_STATUS 100 90 #define MSIM_BM_STATUS 100

mercurial