Files
mongoose/docs/c-api/mg_mqtt.h/mg_mqtt_next_subscribe_topic.md
T
Dmitry Frank 3eb4eb8074 Fix mongoose docs generation
PUBLISHED_FROM=331821dcd1f7dc8a94581cd8a9b51aa00a89fddc
2018-02-03 01:20:48 +02:00

502 B

title, decl_name, symbol_kind, signature
title decl_name symbol_kind signature
mg_mqtt_next_subscribe_topic() mg_mqtt_next_subscribe_topic func int mg_mqtt_next_subscribe_topic(struct mg_mqtt_message *msg, struct mg_str *topic, uint8_t *qos, int pos);

Extracts the next topic expression from a SUBSCRIBE command payload.

The topic expression name will point to a string in the payload buffer. Returns the pos of the next topic expression or -1 when the list of topics is exhausted.