_PurpleCircBuffer Struct Reference


Data Fields

gchar * buffer
 A pointer to the starting address of our chunk of memory.
gsize buflen
 The length of this buffer, in bytes.
gsize bufused
 The number of bytes of this buffer that contain unread data.
gsize growsize
 The incremental amount to increase this buffer by when the buffer is not big enough to hold incoming data, in bytes.
gchar * inptr
 A pointer to the next byte where new incoming data is buffered to.
gchar * outptr
 A pointer to the next byte of buffered data that should be read by the consumer.

Detailed Description

Definition at line 32 of file circbuffer.h.


Field Documentation

gchar* _PurpleCircBuffer::buffer

A pointer to the starting address of our chunk of memory.

Definition at line 35 of file circbuffer.h.

gsize _PurpleCircBuffer::buflen

The length of this buffer, in bytes.

Definition at line 42 of file circbuffer.h.

gsize _PurpleCircBuffer::bufused

The number of bytes of this buffer that contain unread data.

Definition at line 45 of file circbuffer.h.

gsize _PurpleCircBuffer::growsize

The incremental amount to increase this buffer by when the buffer is not big enough to hold incoming data, in bytes.

Definition at line 39 of file circbuffer.h.

gchar* _PurpleCircBuffer::inptr

A pointer to the next byte where new incoming data is buffered to.

Definition at line 49 of file circbuffer.h.

gchar* _PurpleCircBuffer::outptr

A pointer to the next byte of buffered data that should be read by the consumer.

Definition at line 53 of file circbuffer.h.


The documentation for this struct was generated from the following file: