Lines Matching refs:cdev
382 * \fn static SANE_Device *convertFromESCLDev(ESCL_Device *cdev)
393 convertFromESCLDev(ESCL_Device *cdev)
404 if (cdev->unix_socket && strlen(cdev->unix_socket)) {
405 snprintf(unix_path, sizeof(unix_path), "unix:%s:", cdev->unix_socket);
408 unix_path, cdev->https ? "s" : "", cdev->ip_address, cdev->port_nb);
416 unix_path, cdev->https ? "s" : "", cdev->ip_address, cdev->port_nb);
420 sdev->vendor = get_vendor(cdev->model_name);
430 sdev->model = strdup(lv + cdev->model_name);
435 sdev->type = strdup(cdev->is);