NT4/private/utils/restore/inc/queue.h
2020-09-30 17:12:29 +02:00

79 lines
713 B
C

/*++
Copyright (c) 1990 Microsoft Corporation
Module Name:
queue.h
Abstract:
Queue manipulation functions for the restore utility.
Author:
Ramon Juan San Andres (ramonsa) 20-Feb-1991
Revision History:
--*/
//
// pointer to queue
//
typedef PVOID PQUEUE;
//
// Prototypes
//
PQUEUE
CreateQueue (
void
);
BOOL
DeleteQueue (
OUT PQUEUE TheQueue
);
BOOL
Enqueue (
OUT PQUEUE TheQueue,
IN PVOID Info
);
PVOID
Dequeue (
OUT PQUEUE TheQueue
);
void
FlushWaiters (
OUT PQUEUE TheQueue,
IN BOOL All
);
DWORD
NumberOfNodes (
IN PQUEUE TheQueue
);
DWORD
NumberOfWaiters (
IN PQUEUE TheQueue
);