Changeset 32324 in vbox for trunk/src/VBox/Main/include
- Timestamp:
- Sep 8, 2010 3:43:32 PM (14 years ago)
- Location:
- trunk/src/VBox/Main/include
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/HostHardwareLinux.h
r32299 r32324 110 110 typedef VBoxMainDriveInfo::DriveInfo DriveInfo; 111 111 112 113 /** Structure describing a host USB device */114 typedef struct USBDeviceInfo115 {116 /** The device node of the device. */117 char *mDevice;118 /** The system identifier of the device. Specific to the probing119 * method. */120 char *mSysfsPath;121 /** List of interfaces as sysfs paths */122 VECTOR_PTR(char *) mvecpszInterfaces;123 } USBDeviceInfo;124 125 /** Destructor. */126 void USBDevInfoCleanup(USBDeviceInfo *pSelf);127 128 /** Constructor - the strings will be duplicated. */129 int USBDevInfoInit(USBDeviceInfo *pSelf, const char *aDevice,130 const char *aSystemID);131 132 /**133 * Enumerate USB devices attached to the host using sysfs and return them as a134 * vector135 * @returns iprt status code136 * @param pvecDevInfo vector to add the devices onto the end of. Should be137 * initialised and empty.138 */139 int USBSysfsEnumerateHostDevices(VECTOR_OBJ(USBDeviceInfo) *pvecDevInfo);140 141 142 112 /** Implementation of the hotplug waiter class below */ 143 113 class VBoxMainHotplugWaiterImpl -
trunk/src/VBox/Main/include/vector.h
r32262 r32324 27 27 # define MAIN_VECTOR_H 28 28 29 /*** Helper macros and deinitions ***/ 29 /******************************************************************************* 30 * Header Files * 31 *******************************************************************************/ 32 33 #include <stdlib.h> 34 35 /******************************************************************************* 36 * Helper macros and definitions * 37 *******************************************************************************/ 30 38 31 39 /** The unit by which the vector capacity is increased */ … … 208 216 } 209 217 210 /*** Public interface macros ***/ 218 /******************************************************************************* 219 * Public interface macros * 220 *******************************************************************************/ 211 221 212 222 /**
Note:
See TracChangeset
for help on using the changeset viewer.