Lines Matching refs:client

180 static inline int mqtt_is_version_5_0(const struct mqtt_client *client)  in mqtt_is_version_5_0()  argument
183 client->protocol_version == MQTT_VERSION_5_0); in mqtt_is_version_5_0()
191 void event_notify(struct mqtt_client *client, const struct mqtt_evt *evt);
199 int mqtt_handle_rx(struct mqtt_client *client);
209 void mqtt_client_disconnect(struct mqtt_client *client, int result, bool notify);
225 int connect_request_encode(const struct mqtt_client *client,
238 int publish_encode(const struct mqtt_client *client,
252 int publish_ack_encode(const struct mqtt_client *client,
266 int publish_receive_encode(const struct mqtt_client *client,
280 int publish_release_encode(const struct mqtt_client *client,
294 int publish_complete_encode(const struct mqtt_client *client,
307 int disconnect_encode(const struct mqtt_client *client,
321 int subscribe_encode(const struct mqtt_client *client,
335 int unsubscribe_encode(const struct mqtt_client *client,
385 int connect_ack_decode(const struct mqtt_client *client, struct buf_ctx *buf,
399 int publish_decode(struct mqtt_client *client, uint8_t flags,
412 int publish_ack_decode(const struct mqtt_client *client, struct buf_ctx *buf,
424 int publish_receive_decode(const struct mqtt_client *client, struct buf_ctx *buf,
436 int publish_release_decode(const struct mqtt_client *client, struct buf_ctx *buf,
448 int publish_complete_decode(const struct mqtt_client *client, struct buf_ctx *buf,
460 int subscribe_ack_decode(const struct mqtt_client *client, struct buf_ctx *buf,
472 int unsubscribe_ack_decode(const struct mqtt_client *client, struct buf_ctx *buf,
485 int disconnect_decode(const struct mqtt_client *client, struct buf_ctx *buf,
497 int auth_decode(const struct mqtt_client *client, struct buf_ctx *buf,
509 static inline void set_disconnect_reason(struct mqtt_client *client, in set_disconnect_reason() argument
512 client->internal.disconnect_reason = reason; in set_disconnect_reason()
515 static inline void set_disconnect_reason(struct mqtt_client *client, in set_disconnect_reason() argument
518 ARG_UNUSED(client); in set_disconnect_reason()