VirtualBox

Changeset 37624 in vbox for trunk


Ignore:
Timestamp:
Jun 24, 2011 8:57:35 AM (14 years ago)
Author:
vboxsync
Message:

Main/USB/linux: fix some doxygen

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/USBGetDevices.h

    r37618 r37624  
    7575RT_C_DECLS_BEGIN
    7676
    77 /**
    78  * Check whether a USB device tree root is usable
    79  * @param pcszRoot        the path to the root of the device tree
    80  * @param fIsDeviceNodes  whether this is a device node (or usbfs) tree
    81  * @note  returns a pointer into a static array so it will stay valid
    82  */
    8377extern bool USBProxyLinuxCheckDeviceRoot(const char *pcszRoot,
    8478                                         bool fIsDeviceNodes);
     
    9185#endif
    9286
    93 /**
    94  * Selects the access method that will be used to access USB devices based on
    95  * what is available on the host and what if anything the user has specified
    96  * in the environment.
    97  * @returns iprt status value
    98  * @param  pfUsingUsbfsDevices  on success this will be set to true if
    99  *                              the prefered access method is USBFS-like and to
    100  *                              false if it is sysfs/device node-like
    101  * @param  ppcszDevicesRoot     on success the root of the tree of USBFS-like
    102  *                              device nodes will be stored here
    103  */
    10487extern int USBProxyLinuxChooseMethod(bool *pfUsingUsbfsDevices,
    10588                                     const char **ppcszDevicesRoot);
    10689#ifdef UNIT_TEST
    107 /**
    108  * Specify the list of devices that will appear to be available through
    109  * usbfs during unit testing (of USBProxyLinuxGetDevices)
    110  * @param  pacszDeviceAddresses  NULL terminated array of usbfs device addresses
    111  */
    11290extern void TestUSBSetAvailableUsbfsDevices(const char **pacszDeviceAddresses);
    113 /**
    114  * Specify the list of files that access will report as accessible (at present
    115  * we only do accessible or not accessible) during unit testing (of
    116  * USBProxyLinuxGetDevices)
    117  * @param  pacszAccessibleFiles  NULL terminated array of file paths to be
    118  *                               reported accessible
    119  */
    12091extern void TestUSBSetAccessibleFiles(const char **pacszAccessibleFiles);
    12192#endif
    12293
    123 /**
    124  * Get the list of USB devices supported by the system.  Should be freed using
    125  * @a deviceFree or something equivalent.
    126  * @param pcszDevicesRoot  the path to the root of the device tree
    127  * @param fUseSysfs        whether to use sysfs (or usbfs) for enumeration
    128  */
    12994extern PUSBDEVICE USBProxyLinuxGetDevices(const char *pcszDevicesRoot,
    13095                                          bool fUseSysfs);
  • trunk/src/VBox/Main/src-server/linux/USBGetDevices.cpp

    r37618 r37624  
    14811481# define getDevicesFromUsbfs testGetUsbfsDevices
    14821482
     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 */
    14831488void TestUSBSetAvailableUsbfsDevices(const char **pacszDeviceAddresses)
    14841489{
     
    15001505# define access testAccess
    15011506
     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 */
    15021514void TestUSBSetAccessibleFiles(const char **pacszAccessibleFiles)
    15031515{
     
    16561668#endif
    16571669
     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 */
    16581676bool USBProxyLinuxCheckDeviceRoot(const char *pcszRoot, bool fIsDeviceNodes)
    16591677{
     
    16891707#endif
    16901708
     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 */
    16911715PUSBDEVICE USBProxyLinuxGetDevices(const char *pcszDevicesRoot,
    16921716                                   bool fUseSysfs)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette