Main Page   Alphabetical List   Compound List   File List   Compound Members   File Members  

gtcPacket Struct Reference

Packets of data. More...

#include <gtcspeaker.h>

List of all members.

Public Attributes

gtcBytedata
 This is the data for the packet.

int size
 Number of bytes of data.

int refcount
 Reference count.


Detailed Description

Packets of data.

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.


The documentation for this struct was generated from the following file:
Generated at Sat Jul 14 18:53:52 2001 for GTC by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001