Changeset 56141 in vbox for trunk/src/VBox/Devices/USB
- Timestamp:
- May 28, 2015 5:43:35 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 100669
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/USB/VUSBInternal.h
r55901 r56141 10 10 11 11 /* 12 * Copyright (C) 2006-201 1Oracle Corporation12 * Copyright (C) 2006-2015 Oracle Corporation 13 13 * 14 14 * This file is part of VirtualBox Open Source Edition (OSE), as … … 29 29 #include <VBox/vmm/stam.h> 30 30 #include <iprt/assert.h> 31 #include <iprt/queueatomic.h>32 31 #include <iprt/req.h> 33 32 … … 232 231 233 232 234 /** Pointer to the virtual method table for a kind of USB devices. */235 typedef struct vusb_dev_ops *PVUSBDEVOPS;236 237 /** Pointer to the const virtual method table for a kind of USB devices. */238 typedef const struct vusb_dev_ops *PCVUSBDEVOPS;239 240 /**241 * Virtual method table for USB devices - these are the functions you need to242 * implement when writing a new device (or hub)243 *244 * Note that when creating your structure, you are required to zero the245 * vusb_dev fields (ie. use calloc).246 */247 typedef struct vusb_dev_ops248 {249 /* mandatory */250 const char *name;251 } VUSBDEVOPS;252 253 254 233 int vusbDevInit(PVUSBDEV pDev, PPDMUSBINS pUsbIns, const char *pszCaptureFilename); 255 int vusbDevCreateOld(const char *pszDeviceName, void *pvDriverInit, PCRTUUID pUuid, PVUSBDEV *ppDev);256 234 void vusbDevDestroy(PVUSBDEV pDev); 257 235 … … 272 250 273 251 /** @} */ 274 275 276 277 252 278 253
Note:
See TracChangeset
for help on using the changeset viewer.