#include <gtcspeaker.h>
Public Attributes | |
| gtcByte* | data |
| This is the data for the packet. | |
| int | size |
| Number of bytes of data. | |
| int | refcount |
| Reference count. | |
All data is transmitted using this basic data structure. Data is an array of bytes. Packets in the incoming and outgoing list for a gtcSpeaker are chained in a linked list (using the gtcPacketList wrapper). In addition, packets are reference counted. Each time that a pointer to a packet is created, the reference count should be incremented. When a reference to a packet is destroyed, gtc_downcount_packet() should be called.
1.2.8.1 written by Dimitri van Heesch,
© 1997-2001