Lines Matching refs:topic
419 char **topic, size_t *topiclen)
424 result = Curl_urldecode(path + 1, 0, topic, topiclen, REJECT_NADA);
426 failf(data, "Too long MQTT topic");
431 failf(data, "No MQTT topic found. Forgot to URL encode it?");
439 char *topic = NULL;
447 result = mqtt_get_topic(data, &topic, &topiclen);
453 packetlen = topiclen + 5; /* packetid + topic (has a two byte length field)
454 + 2 bytes topic length + QoS byte */
470 memcpy(&packet[5 + n], topic, topiclen);
476 free(topic);
518 char *topic = NULL;
536 result = mqtt_get_topic(data, &topic, &topiclen);
556 memcpy(&pkt[i], topic, topiclen);
564 free(topic);