/* This file is part of the Simba project.  */
int mock_write_mqtt_client_init(const char *name_p, struct log_object_t *log_object_p, void *chout_p, void *chin_p, mqtt_on_publish_t on_publish, mqtt_on_error_t on_error, int res)
/* This file is part of the Simba project.  */
int mock_write_mqtt_client_init(const char *name_p, struct log_object_t *log_object_p, void *chout_p, void *chin_p, mqtt_on_publish_t on_publish, mqtt_on_error_t on_error, int res)
{
    harness_mock_write("mqtt_client_init(name_p)",
                       name_p,
                       strlen(name_p) + 1);
    harness_mock_write("mqtt_client_init(log_object_p)",
                       log_object_p,
                       sizeof(*log_object_p));
    harness_mock_write("mqtt_client_init(chout_p)",
                       chout_p,
                       sizeof(chout_p));
    harness_mock_write("mqtt_client_init(chin_p)",
                       chin_p,
                       sizeof(chin_p));
    harness_mock_write("mqtt_client_init(on_publish)",
                       &on_publish,
                       sizeof(on_publish));
    harness_mock_write("mqtt_client_init(on_error)",
                       &on_error,
                       sizeof(on_error));
    harness_mock_write("mqtt_client_init(): return (res)",
                       &res,
                       sizeof(res));
    return (0);
}