version 1.1.1.1.2.15, 2011/11/22 13:00:33
|
version 1.1.1.1.2.16, 2011/11/22 13:03:25
|
Line 201 inline mqtt_subscr_t *mqtt_str2sub(const char **csStr,
|
Line 201 inline mqtt_subscr_t *mqtt_str2sub(const char **csStr,
|
* mqtt_subFree() Free array from subscribe variables |
* mqtt_subFree() Free array from subscribe variables |
* |
* |
* @subs = Subscribe variables |
* @subs = Subscribe variables |
* @all = if !=0 free and subs pointer |
|
* return: none |
* return: none |
*/ |
*/ |
inline void mqtt_subFree(mqtt_subscr_t ** __restrict subs, int all); | inline void mqtt_subFree(mqtt_subscr_t ** __restrict subs); |
/* |
/* |
* mqtt_subAlloc() Create array from subscribe variables |
* mqtt_subAlloc() Create array from subscribe variables |
* |
* |
* @num = Number of elements |
* @num = Number of elements |
* return: NULL error or subscribe array, after use must call mqtt_subFree() with all!=0 | * return: NULL error or subscribe array, after use must call mqtt_subFree() |
*/ |
*/ |
inline mqtt_subscr_t *mqtt_subAlloc(unsigned short num); |
inline mqtt_subscr_t *mqtt_subAlloc(unsigned short num); |
|
|