MQTT Server 1.0.0
|
Defines | |
#define | MQ_CONN_UTF8_BUF(utf8) ((utf8)? (utf8)->buffer : NULL) |
#define | MQ_CONN_UTF8_LEN(utf8) ((utf8)? (utf8)->length : 0) |
#define | MQC_UTF8_CLIENTID(utf8_vec) (utf8_vec[0]) |
#define | MQC_UTF8_WILL_TOP(utf8_vec) (utf8_vec[1]) |
#define | MQC_UTF8_WILL_MSG(utf8_vec) (utf8_vec[2]) |
#define | MQC_UTF8_USERNAME(utf8_vec) (utf8_vec[3]) |
#define | MQC_UTF8_PASSWORD(utf8_vec) (utf8_vec[4]) |
#define | MQC_CLIENTID_BUF(utf8_vec) MQ_CONN_UTF8_BUF(MQC_UTF8_CLIENTID(utf8_vec)) |
#define | MQC_CLIENTID_LEN(utf8_vec) MQ_CONN_UTF8_LEN(MQC_UTF8_CLIENTID(utf8_vec)) |
#define | MQC_WILL_TOP_BUF(utf8_vec) MQ_CONN_UTF8_BUF(MQC_UTF8_WILL_TOP(utf8_vec)) |
#define | MQC_WILL_TOP_LEN(utf8_vec) MQ_CONN_UTF8_LEN(MQC_UTF8_WILL_TOP(utf8_vec)) |
#define | MQC_WILL_MSG_BUF(utf8_vec) MQ_CONN_UTF8_BUF(MQC_UTF8_WILL_MSG(utf8_vec)) |
#define | MQC_WILL_MSG_LEN(utf8_vec) MQ_CONN_UTF8_LEN(MQC_UTF8_WILL_MSG(utf8_vec)) |
#define | MQC_USERNAME_BUF(utf8_vec) MQ_CONN_UTF8_BUF(MQC_UTF8_USERNAME(utf8_vec)) |
#define | MQC_USERNAME_LEN(utf8_vec) MQ_CONN_UTF8_LEN(MQC_UTF8_USERNAME(utf8_vec)) |
#define | MQC_PASSWORD_BUF(utf8_vec) MQ_CONN_UTF8_BUF(MQC_UTF8_PASSWORD(utf8_vec)) |
#define | MQC_PASSWORD_LEN(utf8_vec) MQ_CONN_UTF8_LEN(MQC_UTF8_PASSWORD(utf8_vec)) |
Define Documentation
#define MQ_CONN_UTF8_BUF | ( | utf8 | ) | ((utf8)? (utf8)->buffer : NULL) |
Yields pointer to the UTF8 content
#define MQ_CONN_UTF8_LEN | ( | utf8 | ) | ((utf8)? (utf8)->length : 0) |
Length or size of the UTF8 content
#define MQC_UTF8_CLIENTID | ( | utf8_vec | ) | (utf8_vec[0]) |
Returns Client ID
#define MQC_UTF8_PASSWORD | ( | utf8_vec | ) | (utf8_vec[4]) |
Returns Pass Word
#define MQC_UTF8_USERNAME | ( | utf8_vec | ) | (utf8_vec[3]) |
Returns User Name
#define MQC_UTF8_WILL_MSG | ( | utf8_vec | ) | (utf8_vec[2]) |
Returns Will Data
#define MQC_UTF8_WILL_TOP | ( | utf8_vec | ) | (utf8_vec[1]) |
Returns Will Topic
Generated on Mon Nov 17 2014 12:12:08 for MQTT Server by 1.7.4