VirtualBox

Changeset 37210 in vbox for trunk/include/iprt


Ignore:
Timestamp:
May 25, 2011 9:55:16 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
71906
Message:

circbuf: make the structure abstract.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/circbuf.h

    r37208 r37210  
    4242RT_C_DECLS_BEGIN
    4343
    44 /** @todo r=bird: this is missing docs and magic. uXPos should be offX.
    45  *        cbBufSize should be cbBuf. */
    46 typedef struct RTCIRCBUF
    47 {
    48     /** The current read position in the buffer. */
    49     size_t uReadPos;
    50     /** The current write position in the buffer. */
    51     size_t uWritePos;
    52     /** How much space of the buffer is currently in use. */
    53     volatile size_t cbBufUsed;
    54     /** How big is the buffer. */
    55     size_t cbBufSize;
    56     /** The buffer itself. */
    57     void *pvBuf;
    58 } RTCIRCBUF;
    59 /* Pointer to a circular buffer structure */
    60 typedef RTCIRCBUF* PRTCIRCBUF;
     44/** Pointer to a circular buffer (abstract). */
     45typedef struct RTCIRCBUF *PRTCIRCBUF;
    6146
    6247/**
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