|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T q
Length: 1904 (0x770) Types: TextFile Names: »queue.h«
└─⟦a05ed705a⟧ Bits:30007078 DKUUG GNU 2/12/89 └─⟦34cc4e2f7⟧ »./UNRELEASED/xgdb3.2.tar.Z« └─⟦80fac5d7c⟧ └─⟦this⟧ »./queue.h« └─⟦a05ed705a⟧ Bits:30007078 DKUUG GNU 2/12/89 └─⟦e10a7c8ba⟧ »./UNRELEASED/xgdb.tar.Z« └─⟦ae30648b5⟧ └─⟦this⟧ »./queue.h«
\f /* $Header: queue.h,v 1.1 89/07/05 15:36:23 hubbard Exp $ */ /* * * Copyright 1988, 1989 * PCS Computer Systeme, GmbH * Munich, West Germany * * All rights reserved. * * This is unsupported software and is subject to change without notice. * PCS makes no representations about the suitability of this software * for any purpose. It is supplied "as is" without express or implied * warranty. * * Permission to use, copy, modify, and distribute this software and its * documentation for any purpose and without fee is hereby granted, provided * that the above copyright notice appear in all copies and that both that * copyright notice and this permission notice appear in supporting * documentation, and that the name of PCS Computer Systeme not be used in * advertising or publicity pertaining to distribution of the software * without specific, written prior permission. * */ /* * Author: Jordan K. Hubbard * For: PCS Computer Systems * When: April 18th, 1989. * * $Log: queue.h,v $ * Revision 1.1 89/07/05 15:36:23 hubbard * Initial revision * * */ #ifndef QUEUE_H_INCLUDE #define QUEUE_H_INCLUDE /* * Defines for the queue manipulation routines. */ #define QUEUE_ENTRY(ent) \ typedef struct ent { \ struct ent *prev; \ struct ent *next; #define IS_TYPE } #define BEGIN #define NEXT(i) ((i)->next) #define PREV(i) ((i)->prev) #define FIRST(q, t) ((t *)((q)->head)) #define LAST(q, t) ((t *)((q)->tail)) #define HEAD(q) ((Link)((q)->head)) #define TAIL(q) ((Link)((q)->tail)) #define FIFO 1 #define LIFO 2 /* Forward declarations */ void addQueueEntry(), removeQueueEntry(), replaceQueueEntry(), storeEventQueue(), restoreEventQueue(); GenericPtr popQueueEntry(); Boolean queueActive(), queueEmpty(), entryOnQueue(); #endif /* QUEUE_H_INCLUDE */