Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
IMAAudioRTP/RTPMPIMAAudio/Headers/TQueue.h
/* |
File: TQueue.h |
Contains: Declaration of TQueue, a generic queue datatype |
Copyright: © 1997-1999 by Apple Computer, Inc., all rights reserved. |
*/ |
#ifndef __TQUEUE__ |
#define __TQUEUE__ |
#pragma once |
#include "TCycle.h" |
#include <MacTypes.h> |
typedef struct TQueue |
{ |
TCycle ** __itsList; |
UInt32 __itsCount; |
} TQueue; |
extern |
void |
QueueInitialize( |
TQueue * inQueue ); |
extern |
UInt32 |
QueueCount( |
const TQueue * inQueue ); |
extern |
void * |
QueueHead( |
const TQueue * inQueue ); |
extern |
void * |
QueueEnqueue( |
TQueue * inQueue, |
void * inElement ); |
extern |
void * |
QueueDequeue( |
TQueue * inQueue ); |
#endif /* __TQUEUE__ */ |
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-01-14