Page Menu
Home
ClusterLabs Projects
Search
Configure Global Search
Log In
Files
F3154287
Qu.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
Qu.h
View Options
/******************************************************************************
*******************************************************************************
**
** Copyright (C) Sistina Software, Inc. 1997-2001 All rights reserved.
** Copyright (C) 2004 Red Hat, Inc. All rights reserved.
**
** This copyrighted material is made available to anyone wishing to use,
** modify, copy, or redistribute it subject to the terms and conditions
** of the GNU General Public License v.2.
**
*******************************************************************************
******************************************************************************/
/******************************************************************************
* Queues!
* uses LLi for its dirty work
*/
#ifndef __Qu_h__
#define __Qu_h__
#include "LLi.h"
typedef LLi_t Qu_t;
#define Qu_init(i,d) LLi_init((i),(d))
#define Qu_init_head(i) LLi_init((i),NULL)
#define Qu_empty(Q) LLi_empty(Q)
#define Qu_data(i) LLi_data(i)
#define Qu_EnQu(Q,i) LLi_add_before((Q),(i))
#define Qu_EnQu_Front(Q,i) LLi_add_after((Q),(i))
#define Qu_DeQu(Q) LLi_pop(Q)
#define Qu_peek(Q) LLi_next(Q)
#endif /*__Qu_h__*/
/* vim: set ai cin et sw=3 ts=3 : */
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Wed, Feb 26, 11:35 AM (19 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1449509
Default Alt Text
Qu.h (1 KB)
Attached To
Mode
rF Fence Agents
Attached
Detach File
Event Timeline
Log In to Comment