Changeset 37624 in vbox for trunk/src/VBox/Main/src-server/linux
- Timestamp:
- Jun 24, 2011 8:57:35 AM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 72470
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/linux/USBGetDevices.cpp
r37618 r37624 1481 1481 # define getDevicesFromUsbfs testGetUsbfsDevices 1482 1482 1483 /** 1484 * Specify the list of devices that will appear to be available through 1485 * usbfs during unit testing (of USBProxyLinuxGetDevices) 1486 * @param pacszDeviceAddresses NULL terminated array of usbfs device addresses 1487 */ 1483 1488 void TestUSBSetAvailableUsbfsDevices(const char **pacszDeviceAddresses) 1484 1489 { … … 1500 1505 # define access testAccess 1501 1506 1507 /** 1508 * Specify the list of files that access will report as accessible (at present 1509 * we only do accessible or not accessible) during unit testing (of 1510 * USBProxyLinuxGetDevices) 1511 * @param pacszAccessibleFiles NULL terminated array of file paths to be 1512 * reported accessible 1513 */ 1502 1514 void TestUSBSetAccessibleFiles(const char **pacszAccessibleFiles) 1503 1515 { … … 1656 1668 #endif 1657 1669 1670 /** 1671 * Check whether a USB device tree root is usable 1672 * @param pcszRoot the path to the root of the device tree 1673 * @param fIsDeviceNodes whether this is a device node (or usbfs) tree 1674 * @note returns a pointer into a static array so it will stay valid 1675 */ 1658 1676 bool USBProxyLinuxCheckDeviceRoot(const char *pcszRoot, bool fIsDeviceNodes) 1659 1677 { … … 1689 1707 #endif 1690 1708 1709 /** 1710 * Get the list of USB devices supported by the system. Should be freed using 1711 * @a deviceFree or something equivalent. 1712 * @param pcszDevicesRoot the path to the root of the device tree 1713 * @param fUseSysfs whether to use sysfs (or usbfs) for enumeration 1714 */ 1691 1715 PUSBDEVICE USBProxyLinuxGetDevices(const char *pcszDevicesRoot, 1692 1716 bool fUseSysfs)
Note:
See TracChangeset
for help on using the changeset viewer.