version 1.1.1.1, 2012/01/26 13:07:33
|
version 1.1.1.1.2.1, 2012/01/26 14:44:33
|
Line 218 inline void mqtt_msgFree(mqtt_msg_t ** __restrict msg,
|
Line 218 inline void mqtt_msgFree(mqtt_msg_t ** __restrict msg,
|
inline int mqtt_msgRealloc(mqtt_msg_t * __restrict msg, unsigned short len); |
inline int mqtt_msgRealloc(mqtt_msg_t * __restrict msg, unsigned short len); |
|
|
/* |
/* |
|
* mqtt_expandTopic() - Expanding topic to regular expression |
|
* |
|
* @csInput = Input topic |
|
* @psRegEx = Output to regular expression |
|
* @regexLen = Length of psRegEx |
|
* @BOL = Begin of Line, if =0 not added |
|
* @EOL = End of Line, if =0 not appended |
|
* return: -1 error, 0 nothing expanded or >0 expanded bytes |
|
*/ |
|
int mqtt_expandTopic(const char *csInput, char * __restrict psRegEx, int regexLen, |
|
unsigned char BOL, unsigned char EOL); |
|
|
|
/* |
* mqtt_encodeLen() Encode number to MQTT length field |
* mqtt_encodeLen() Encode number to MQTT length field |
* |
* |
* @num = number for encode |
* @num = number for encode |