mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-14 08:39:23 +08:00
16 lines
496 B
Markdown
16 lines
496 B
Markdown
|
---
|
||
|
title: "mg_mqtt_next_subscribe_topic()"
|
||
|
decl_name: "mg_mqtt_next_subscribe_topic"
|
||
|
symbol_kind: "func"
|
||
|
signature: |
|
||
|
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.
|
||
|
|