static int umocktypes_are_equal_WSIO_CONFIG_ptr(WSIO_CONFIG** left, WSIO_CONFIG** right) { int result; if (*left == *right) { result = 1; } else { if ((*left == NULL) || (*right == NULL)) { result = 0; } else { if (((*left)->port != (*right)->port) || ((*left)->underlying_io_interface != (*right)->underlying_io_interface)) { result = 0; } else { if ((strcmp((*left)->hostname, (*right)->hostname) != 0) || (strcmp((*left)->protocol, (*right)->protocol) != 0) || (strcmp((*left)->resource_name, (*right)->resource_name) != 0) || (umocktypes_are_equal("TLSIO_CONFIG*", &((*left)->underlying_io_parameters), &((*right)->underlying_io_parameters)) != 1)) { result = 0; } else { result = 1; } } } } return result; }
static int umocktypes_are_equal_TLSIO_CONFIG_ptr(TLSIO_CONFIG** left, TLSIO_CONFIG** right) { int result; if (*left == *right) { result = 1; } else { if ((*left == NULL) || (*right == NULL)) { result = 0; } else { if (((*left)->port != (*right)->port) || ((*left)->underlying_io_interface != (*right)->underlying_io_interface)) { result = 0; } else { if ((strcmp((*left)->hostname, (*right)->hostname) != 0) || (((*left)->underlying_io_interface != NULL) && (umocktypes_are_equal("HTTP_PROXY_IO_CONFIG*", &((*left)->underlying_io_parameters), &((*right)->underlying_io_parameters)) != 1))) { result = 0; } else { result = 1; } } } } return result; }