• Home
  • Raw
  • Download

Lines Matching refs:topic

37 	if (h->u.mqtt.sub_info.topic) {  in secstream_mqtt_cleanup()
39 if (h->u.mqtt.sub_info.topic[i].name) { in secstream_mqtt_cleanup()
40 lws_free((void*)h->u.mqtt.sub_info.topic[i].name); in secstream_mqtt_cleanup()
41 h->u.mqtt.sub_info.topic[i].name = NULL; in secstream_mqtt_cleanup()
44 lws_free(h->u.mqtt.sub_info.topic); in secstream_mqtt_cleanup()
45 h->u.mqtt.sub_info.topic = NULL; in secstream_mqtt_cleanup()
120 h->u.mqtt.sub_info.topic = &h->u.mqtt.sub_top; in secstream_mqtt_subscribe()
121 h->u.mqtt.sub_info.topic = in secstream_mqtt_subscribe()
123 h->u.mqtt.sub_info.topic[0].name = lws_strdup(expbuf); in secstream_mqtt_subscribe()
124 h->u.mqtt.sub_info.topic[0].qos = h->policy->u.mqtt.qos; in secstream_mqtt_subscribe()
145 const char* topic, in secstream_mqtt_publish() argument
164 if (lws_strexp_expand(&exp, topic, strlen(topic), &used_in, in secstream_mqtt_publish()
180 if (lws_strexp_expand(&exp, topic, strlen(topic), &used_in, in secstream_mqtt_publish()
186 mqpp.topic = (char *)expbuf; in secstream_mqtt_publish()
188 mqpp.topic_len = (uint16_t)strlen(mqpp.topic); in secstream_mqtt_publish()
326 if (h->policy->u.mqtt.topic) in secstream_mqtt()
422 lmsp.topic = h->u.mqtt.sub_info.topic; in secstream_mqtt()
438 h->policy->u.mqtt.topic, in secstream_mqtt()
500 h->policy->u.mqtt.topic, in secstream_connect_munge_mqtt()
650 ct->ccp.will_param.topic = ps[SSCMM_STRSUB_WILL_TOPIC]; in secstream_connect_munge_mqtt()
655 ct->ccp.birth_param.topic = ps[SSCMM_STRSUB_BIRTH_TOPIC]; in secstream_connect_munge_mqtt()