From 86d1a677fd310d7d90d6f7545c02a4bd68e1d955 Mon Sep 17 00:00:00 2001 From: dartraiden Date: Wed, 4 Jun 2025 09:49:23 +0300 Subject: libcurl: update to 8.14.0 --- libs/libcurl/src/mqtt.h | 30 ------------------------------ 1 file changed, 30 deletions(-) (limited to 'libs/libcurl/src/mqtt.h') diff --git a/libs/libcurl/src/mqtt.h b/libs/libcurl/src/mqtt.h index 6393e0c552..53997588ee 100644 --- a/libs/libcurl/src/mqtt.h +++ b/libs/libcurl/src/mqtt.h @@ -28,34 +28,4 @@ extern const struct Curl_handler Curl_handler_mqtt; #endif -enum mqttstate { - MQTT_FIRST, /* 0 */ - MQTT_REMAINING_LENGTH, /* 1 */ - MQTT_CONNACK, /* 2 */ - MQTT_SUBACK, /* 3 */ - MQTT_SUBACK_COMING, /* 4 - the SUBACK remainder */ - MQTT_PUBWAIT, /* 5 - wait for publish */ - MQTT_PUB_REMAIN, /* 6 - wait for the remainder of the publish */ - - MQTT_NOSTATE /* 7 - never used an actual state */ -}; - -struct mqtt_conn { - enum mqttstate state; - enum mqttstate nextstate; /* switch to this after remaining length is - done */ - unsigned int packetid; -}; - -/* protocol-specific transfer-related data */ -struct MQTT { - struct dynbuf sendbuf; - /* when receiving */ - struct dynbuf recvbuf; - size_t npacket; /* byte counter */ - size_t remaining_length; - unsigned char pkt_hd[4]; /* for decoding the arriving packet length */ - unsigned char firstbyte; -}; - #endif /* HEADER_CURL_MQTT_H */ -- cgit v1.2.3