mongoose/docs/c-api/mqtt.h/mg_mqtt_match_topic_expression.md
Dmitry Frank 3942914945 Fix subscription to wildcard topics
`mg_mqtt_match_topic_expression()` and friends are public now.

So far, only `#` is supported.

PUBLISHED_FROM=20c031bcf34be84771c4a9c456318634eb9a517c
2017-02-24 14:21:33 +00:00

290 B

title decl_name symbol_kind signature
mg_mqtt_match_topic_expression() mg_mqtt_match_topic_expression func int mg_mqtt_match_topic_expression(struct mg_str exp, struct mg_str topic);

Matches a topic against a topic expression

Returns 1 if it matches; 0 otherwise.