17 #if !defined(MQTTPROPERTIES_H) 18 #define MQTTPROPERTIES_H 22 #define MQTT_INVALID_PROPERTY_ID -2 120 #define MQTTProperties_initializer {0, 0, 0, NULL}
int MQTTProperties_read(MQTTProperties *properties, char **pptr, char *enddata)
LIBMQTT_API const char * MQTTPropertyName(enum MQTTPropertyCodes value)
LIBMQTT_API int MQTTProperties_getNumericValue(MQTTProperties *props, enum MQTTPropertyCodes propid)
LIBMQTT_API int MQTTProperties_propertyCount(MQTTProperties *props, enum MQTTPropertyCodes propid)
LIBMQTT_API int MQTTProperties_getNumericValueAt(MQTTProperties *props, enum MQTTPropertyCodes propid, int index)
LIBMQTT_API MQTTProperty * MQTTProperties_getPropertyAt(MQTTProperties *props, enum MQTTPropertyCodes propid, int index)
LIBMQTT_API int MQTTProperties_add(MQTTProperties *props, const MQTTProperty *prop)
LIBMQTT_API int MQTTProperties_hasProperty(MQTTProperties *props, enum MQTTPropertyCodes propid)
LIBMQTT_API int MQTTProperty_getType(enum MQTTPropertyCodes value)
LIBMQTT_API MQTTProperties MQTTProperties_copy(const MQTTProperties *props)
LIBMQTT_API MQTTProperty * MQTTProperties_getProperty(MQTTProperties *props, enum MQTTPropertyCodes propid)
struct MQTTProperties MQTTProperties
LIBMQTT_API void MQTTProperties_free(MQTTProperties *properties)
int MQTTProperties_len(MQTTProperties *props)
int MQTTProperties_write(char **pptr, const MQTTProperties *properties)