Searched refs:lws_mqtt_str_t (Results 1 – 5 of 5) sorted by relevance
/external/libwebsockets/lib/roles/mqtt/ |
D | primitives.c | 148 lws_mqtt_str_init(lws_mqtt_str_t *s, uint8_t *buf, uint16_t lim, char nf) in lws_mqtt_str_init() 158 lws_mqtt_str_t * 161 lws_mqtt_str_t *s = lws_malloc(sizeof(*s) + lim + 1, __func__); in lws_mqtt_str_create() 176 lws_mqtt_str_t * 179 lws_mqtt_str_t *s; in lws_mqtt_str_create_init() 198 lws_mqtt_str_t * 210 lws_mqtt_str_next(lws_mqtt_str_t *s, uint16_t *budget) in lws_mqtt_str_next() 219 lws_mqtt_str_advance(lws_mqtt_str_t *s, int n) in lws_mqtt_str_advance() 234 lws_mqtt_str_free(lws_mqtt_str_t **ps) in lws_mqtt_str_free() 236 lws_mqtt_str_t *s = *ps; in lws_mqtt_str_free() [all …]
|
D | private-lib-roles-mqtt.h | 127 } lws_mqtt_str_t; typedef 130 lws_mqtt_str_first(lws_mqtt_str_t *s) { return !s->buf && !s->pos; } in lws_mqtt_str_first() 134 lws_mqtt_str_parse(lws_mqtt_str_t *bd, const uint8_t **in, size_t *len); 260 lws_mqtt_str_t s_temp; 311 lws_mqtt_str_t *id; 312 lws_mqtt_str_t *username; 313 lws_mqtt_str_t *password; 315 lws_mqtt_str_t *topic; 316 lws_mqtt_str_t *message;
|
D | mqtt.c | 1602 lws_mqtt_str_t mqtt_vh_payload; in lws_mqtt_client_send_publish() 1760 lws_mqtt_str_t mqtt_vh_payload; in lws_mqtt_client_send_subcribe() 1941 lws_mqtt_str_t mqtt_vh_payload; in lws_mqtt_client_send_unsubcribe()
|
/external/libwebsockets/include/libwebsockets/ |
D | lws-mqtt.h | 30 typedef struct lws_mqtt_str_st lws_mqtt_str_t; typedef 241 lws_mqtt_bindata_cmp(const lws_mqtt_str_t *bd1, const lws_mqtt_str_t *bd2); 244 lws_mqtt_str_init(lws_mqtt_str_t *s, uint8_t *buf, uint16_t lim, char nf); 246 LWS_VISIBLE LWS_EXTERN lws_mqtt_str_t * 249 LWS_VISIBLE LWS_EXTERN lws_mqtt_str_t * 252 LWS_VISIBLE LWS_EXTERN lws_mqtt_str_t * 256 lws_mqtt_str_next(lws_mqtt_str_t *s, uint16_t *budget); 259 lws_mqtt_str_advance(lws_mqtt_str_t *s, int n); 262 lws_mqtt_str_free(lws_mqtt_str_t **s);
|
/external/libwebsockets/lib/roles/mqtt/client/ |
D | client-mqtt.c | 45 lws_mqtt_generate_id(struct lws* wsi, lws_mqtt_str_t **ms, const char *client_id) in lws_mqtt_generate_id()
|