mongoose/docs/c-api/mqtt.h/mg_mqtt_next_subscribe_topic.md
Dmitry Frank 7bed7ff482 Docs are generated for Mongoose
Comments in headers are changed a bit: removed adoc-specific stuff,
markdown is used instead

PUBLISHED_FROM=9242cce85cc52a47a197d377e7e23804721a6bb5
2016-03-21 13:29:29 +01:00

496 B

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);

Extract the next topic expression from a SUBSCRIBE command payload.

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