Lines Matching refs:buf_ctx
30 static int unpack_uint8(struct buf_ctx *buf, uint8_t *val) in unpack_uint8()
60 static int unpack_uint16(struct buf_ctx *buf, uint16_t *val) in unpack_uint16()
90 static int unpack_utf8_str(struct buf_ctx *buf, struct mqtt_utf8 *str) in unpack_utf8_str()
133 static int unpack_data(uint32_t length, struct buf_ctx *buf, in unpack_data()
168 static int packet_length_decode(struct buf_ctx *buf, uint32_t *length) in packet_length_decode()
198 int fixed_header_decode(struct buf_ctx *buf, uint8_t *type_and_flags, in fixed_header_decode()
211 int connect_ack_decode(const struct mqtt_client *client, struct buf_ctx *buf, in connect_ack_decode()
240 int publish_decode(uint8_t flags, uint32_t var_length, struct buf_ctx *buf, in publish_decode()
279 int publish_ack_decode(struct buf_ctx *buf, struct mqtt_puback_param *param) in publish_ack_decode()
284 int publish_receive_decode(struct buf_ctx *buf, struct mqtt_pubrec_param *param) in publish_receive_decode()
289 int publish_release_decode(struct buf_ctx *buf, struct mqtt_pubrel_param *param) in publish_release_decode()
294 int publish_complete_decode(struct buf_ctx *buf, in publish_complete_decode()
300 int subscribe_ack_decode(struct buf_ctx *buf, struct mqtt_suback_param *param) in subscribe_ack_decode()
312 int unsubscribe_ack_decode(struct buf_ctx *buf, in unsubscribe_ack_decode()