mirror of
https://github.com/cesanta/mongoose.git
synced 2025-01-08 05:15:16 +08:00
23122b327c
It would be probably good idea to also remove tools/docgen.py and asciidoc.mk, but asciidoc.mk is still mentioned under `cloud/doc`, which may contain some useful info which we'll need at least to review before removing. PUBLISHED_FROM=faf454d4c52a2f07ea8ac084cf0bd11a0c9c9b3b
19 lines
411 B
Markdown
19 lines
411 B
Markdown
---
|
|
title: "mg_mqtt_next()"
|
|
decl_name: "mg_mqtt_next"
|
|
symbol_kind: "func"
|
|
signature: |
|
|
struct mg_mqtt_session *mg_mqtt_next(struct mg_mqtt_broker *brk,
|
|
struct mg_mqtt_session *s);
|
|
---
|
|
|
|
Iterate over all mqtt sessions connections. Example:
|
|
|
|
```c
|
|
struct mg_mqtt_session *s;
|
|
for (s = mg_mqtt_next(brk, NULL); s != NULL; s = mg_mqtt_next(brk, s)) {
|
|
// Do something
|
|
}
|
|
```
|
|
|