VirtualBox

Changeset 34556 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Dec 1, 2010 10:43:44 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
68347
Message:

GuestControlSvc.h: a bit of doxygen, dropping leading underscores

Location:
trunk/include/VBox/HostServices
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/HostServices/GuestControlSvc.h

    r34553 r34556  
    11/** @file
    2  * Guest control service:
    3  * Common header for host service and guest clients.
     2 * Guest control service - Common header for host service and guest clients.
    43 */
    54
     
    3635#include <iprt/string.h>
    3736
    38 /** Everything defined in this file lives in this namespace. */
     37/* Everything defined in this file lives in this namespace. */
    3938namespace guestControl {
    4039
     
    7675#define INPUT_FLAG_EOF              RT_BIT(0)
    7776
    78 /*
    79  * Internal tools built into VBoxService which are
    80  * used in order to accomplish tasks host<->guest.
     77/** @name Internal tools built into VBoxService which are used in order to
     78 *        accomplish tasks host<->guest.
     79 * @{
    8180 */
    8281#define VBOXSERVICE_TOOL_CAT        "vbox_cat"
    8382#define VBOXSERVICE_TOOL_MKDIR      "vbox_mkdir"
     83/** @} */
    8484
    8585/**
     
    100100};
    101101
    102 typedef struct _VBoxGuestCtrlCallbackHeader
     102/**
     103 * Document me.
     104 */
     105typedef struct VBoxGuestCtrlCallbackHeader
    103106{
    104107    /** Magic number to identify the structure. */
     
    106109    /** Context ID to identify callback data. */
    107110    uint32_t u32ContextID;
    108 } CALLBACKHEADER, *PCALLBACKHEADER;
     111} CALLBACKHEADER;
     112typedef CALLBACKHEADER *PCALLBACKHEADER;
    109113
    110114/**
     
    112116 * notify the host of changes to properties.
    113117 */
    114 typedef struct _VBoxGuestCtrlCallbackDataExecStatus
     118typedef struct VBoxGuestCtrlCallbackDataExecStatus
    115119{
    116120    /** Callback data header. */
     
    118122    /** The process ID (PID). */
    119123    uint32_t u32PID;
    120     /* The process status. */
     124    /** The process status. */
    121125    uint32_t u32Status;
    122126    /** Optional flags, varies, based on u32Status. */
     
    126130    /** Size of optional data buffer (not used atm). */
    127131    uint32_t cbData;
    128 } CALLBACKDATAEXECSTATUS, *PCALLBACKDATAEXECSTATUS;
    129 
    130 typedef struct _VBoxGuestCtrlCallbackDataExecOut
     132} CALLBACKDATAEXECSTATUS;
     133typedef CALLBACKDATAEXECSTATUS *PCALLBACKDATAEXECSTATUS;
     134
     135typedef struct VBoxGuestCtrlCallbackDataExecOut
    131136{
    132137    /** Callback data header. */
     
    134139    /** The process ID (PID). */
    135140    uint32_t u32PID;
    136     /* The handle ID (stdout/stderr). */
     141    /** The handle ID (stdout/stderr). */
    137142    uint32_t u32HandleId;
    138143    /** Optional flags (not used atm). */
     
    142147    /** Size (in bytes) of optional data buffer. */
    143148    uint32_t cbData;
    144 } CALLBACKDATAEXECOUT, *PCALLBACKDATAEXECOUT;
    145 
    146 typedef struct _VBoxGuestCtrlCallbackDataExecInStatus
     149} CALLBACKDATAEXECOUT;
     150typedef CALLBACKDATAEXECOUT *PCALLBACKDATAEXECOUT;
     151
     152typedef struct VBoxGuestCtrlCallbackDataExecInStatus
    147153{
    148154    /** Callback data header. */
     
    156162    /** Size (in bytes) of processed input data. */
    157163    uint32_t cbProcessed;
    158 } CALLBACKDATAEXECINSTATUS, *PCALLBACKDATAEXECINSTATUS;
    159 
    160 typedef struct _VBoxGuestCtrlCallbackDataClientDisconnected
     164} CALLBACKDATAEXECINSTATUS;
     165typedef CALLBACKDATAEXECINSTATUS *PCALLBACKDATAEXECINSTATUS;
     166
     167typedef struct VBoxGuestCtrlCallbackDataClientDisconnected
    161168{
    162169    /** Callback data header. */
    163170    CALLBACKHEADER hdr;
    164 } CALLBACKDATACLIENTDISCONNECTED, *PCALLBACKDATACLIENTDISCONNECTED;
     171} CALLBACKDATACLIENTDISCONNECTED;
     172typedef CALLBACKDATACLIENTDISCONNECTED *PCALLBACKDATACLIENTDISCONNECTED;
    165173
    166174enum
     
    249257 */
    250258#pragma pack (1)
    251 typedef struct _VBoxGuestCtrlHGCMMsgType
     259
     260typedef struct VBoxGuestCtrlHGCMMsgType
    252261{
    253262    VBoxGuestHGCMCallInfo hdr;
     
    264273
    265274/**
    266  * Asks the guest control host service to cancel all pending
    267  * (outstanding) waits which were not processed yet. This is
    268  * handy for a graceful shutdown.
    269  */
    270 typedef struct _VBoxGuestCtrlHGCMMsgCancelPendingWaits
     275 * Asks the guest control host service to cancel all pending (outstanding)
     276 * waits which were not processed yet.  This is handy for a graceful shutdown.
     277 */
     278typedef struct VBoxGuestCtrlHGCMMsgCancelPendingWaits
    271279{
    272280    VBoxGuestHGCMCallInfo hdr;
     
    276284 * Executes a command inside the guest.
    277285 */
    278 typedef struct _VBoxGuestCtrlHGCMMsgExecCmd
     286typedef struct VBoxGuestCtrlHGCMMsgExecCmd
    279287{
    280288    VBoxGuestHGCMCallInfo hdr;
     
    308316
    309317/**
    310  * Injects input to a previously executed process via
    311  * stdin.
    312  */
    313 typedef struct _VBoxGuestCtrlHGCMMsgExecIn
     318 * Injects input to a previously executed process via stdin.
     319 */
     320typedef struct VBoxGuestCtrlHGCMMsgExecIn
    314321{
    315322    VBoxGuestHGCMCallInfo hdr;
     
    327334} VBoxGuestCtrlHGCMMsgExecIn;
    328335
    329 typedef struct _VBoxGuestCtrlHGCMMsgExecOut
     336typedef struct VBoxGuestCtrlHGCMMsgExecOut
    330337{
    331338    VBoxGuestHGCMCallInfo hdr;
     
    343350} VBoxGuestCtrlHGCMMsgExecOut;
    344351
    345 typedef struct _VBoxGuestCtrlHGCMMsgExecStatus
     352typedef struct VBoxGuestCtrlHGCMMsgExecStatus
    346353{
    347354    VBoxGuestHGCMCallInfo hdr;
     
    359366} VBoxGuestCtrlHGCMMsgExecStatus;
    360367
    361 typedef struct _VBoxGuestCtrlHGCMMsgExecStatusIn
     368typedef struct VBoxGuestCtrlHGCMMsgExecStatusIn
    362369{
    363370    VBoxGuestHGCMCallInfo hdr;
     
    374381
    375382} VBoxGuestCtrlHGCMMsgExecStatusIn;
     383
    376384#pragma pack ()
    377385
    378 /* Structure for buffering execution requests in the host service. */
    379 typedef struct _VBoxGuestCtrlParamBuffer
     386/**
     387 * Structure for buffering execution requests in the host service.
     388 */
     389typedef struct VBoxGuestCtrlParamBuffer
    380390{
    381391    uint32_t uMsg;
    382392    uint32_t uParmCount;
    383393    VBOXHGCMSVCPARM *pParms;
    384 } VBOXGUESTCTRPARAMBUFFER, *PVBOXGUESTCTRPARAMBUFFER;
     394} VBOXGUESTCTRPARAMBUFFER;
     395typedef VBOXGUESTCTRPARAMBUFFER *PVBOXGUESTCTRPARAMBUFFER;
    385396
    386397} /* namespace guestControl */
    387398
    388 #endif  /* ___VBox_HostService_GuestControlService_h defined */
     399#endif  /* !___VBox_HostService_GuestControlService_h */
     400
Note: See TracChangeset for help on using the changeset viewer.

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