Lines Matching refs:client
22 typedef int (*transport_connect_handler_t)(struct mqtt_client *client);
25 typedef int (*transport_write_handler_t)(struct mqtt_client *client,
29 typedef int (*transport_write_msg_handler_t)(struct mqtt_client *client,
33 typedef int (*transport_read_handler_t)(struct mqtt_client *client, uint8_t *data,
37 typedef int (*transport_disconnect_handler_t)(struct mqtt_client *client);
73 int mqtt_transport_connect(struct mqtt_client *client);
83 int mqtt_transport_write(struct mqtt_client *client, const uint8_t *data,
94 int mqtt_transport_write_msg(struct mqtt_client *client,
107 int mqtt_transport_read(struct mqtt_client *client, uint8_t *data, uint32_t buflen,
116 int mqtt_transport_disconnect(struct mqtt_client *client);
119 int mqtt_client_tcp_connect(struct mqtt_client *client);
120 int mqtt_client_tcp_write(struct mqtt_client *client, const uint8_t *data,
122 int mqtt_client_tcp_write_msg(struct mqtt_client *client,
124 int mqtt_client_tcp_read(struct mqtt_client *client, uint8_t *data,
126 int mqtt_client_tcp_disconnect(struct mqtt_client *client);
130 int mqtt_client_tls_connect(struct mqtt_client *client);
131 int mqtt_client_tls_write(struct mqtt_client *client, const uint8_t *data,
133 int mqtt_client_tls_write_msg(struct mqtt_client *client,
135 int mqtt_client_tls_read(struct mqtt_client *client, uint8_t *data,
137 int mqtt_client_tls_disconnect(struct mqtt_client *client);
141 int mqtt_client_websocket_connect(struct mqtt_client *client);
142 int mqtt_client_websocket_write(struct mqtt_client *client, const uint8_t *data,
144 int mqtt_client_websocket_write_msg(struct mqtt_client *client,
146 int mqtt_client_websocket_read(struct mqtt_client *client, uint8_t *data,
148 int mqtt_client_websocket_disconnect(struct mqtt_client *client);
152 int mqtt_client_custom_transport_connect(struct mqtt_client *client);
153 int mqtt_client_custom_transport_write(struct mqtt_client *client, const uint8_t *data,
155 int mqtt_client_custom_transport_write_msg(struct mqtt_client *client,
157 int mqtt_client_custom_transport_read(struct mqtt_client *client, uint8_t *data,
159 int mqtt_client_custom_transport_disconnect(struct mqtt_client *client);