Function wacom_sys::libwacom_list_devices_from_database [] [src]

pub unsafe extern "C" fn libwacom_list_devices_from_database(
    db: *const WacomDeviceDatabase,
    error: *mut WacomError
) -> *mut *mut WacomDevice

Returns the list of devices in the given database.

@param db A device database @param error If not NULL, set to the error if any occurs

@return A NULL terminated list of pointers to all the devices inside the database. The content of the list is owned by the database and should not be modified of freed. Use free() to free the list.