VirtualBox

Changeset 56141 in vbox for trunk/src/VBox/Devices/USB


Ignore:
Timestamp:
May 28, 2015 5:43:35 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
100669
Message:

USB: Minor cleanup, kill a few unused declarations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/USB/VUSBInternal.h

    r55901 r56141  
    1010
    1111/*
    12  * Copyright (C) 2006-2011 Oracle Corporation
     12 * Copyright (C) 2006-2015 Oracle Corporation
    1313 *
    1414 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    2929#include <VBox/vmm/stam.h>
    3030#include <iprt/assert.h>
    31 #include <iprt/queueatomic.h>
    3231#include <iprt/req.h>
    3332
     
    232231
    233232
    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 to
    242  * implement when writing a new device (or hub)
    243  *
    244  * Note that when creating your structure, you are required to zero the
    245  * vusb_dev fields (ie. use calloc).
    246  */
    247 typedef struct vusb_dev_ops
    248 {
    249     /* mandatory */
    250     const char *name;
    251 } VUSBDEVOPS;
    252 
    253 
    254233int vusbDevInit(PVUSBDEV pDev, PPDMUSBINS pUsbIns, const char *pszCaptureFilename);
    255 int vusbDevCreateOld(const char *pszDeviceName, void *pvDriverInit, PCRTUUID pUuid, PVUSBDEV *ppDev);
    256234void vusbDevDestroy(PVUSBDEV pDev);
    257235
     
    272250
    273251/** @} */
    274 
    275 
    276 
    277252
    278253
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