YAF Core Library
libyaf 0.8.0 API documentation

picq.h

Go to the documentation of this file.
00001 /*
00002  ** picq.c
00003  ** General pickable queue implementation
00004  **
00005  ** ------------------------------------------------------------------------
00006  ** Copyright (C) 2006-2007 Carnegie Mellon University. All Rights Reserved.
00007  ** ------------------------------------------------------------------------
00008  ** Authors: Brian Trammell <bht@cert.org>
00009  ** ------------------------------------------------------------------------
00010  ** GNU General Public License (GPL) Rights pursuant to Version 2, June 1991
00011  ** Government Purpose License Rights (GPLR) pursuant to DFARS 252.225-7013
00012  ** ------------------------------------------------------------------------
00013  */
00014 
00032 /* idem hack */
00033 #ifndef _YAF_PICQ_H_
00034 #define _YAF_PICQ_H_
00035 #include <yaf/autoinc.h>
00036 
00037 
00048 void piqPick (
00049     void        *vq,
00050     void        *vn);
00051 
00062 void piqEnQ(
00063     void        *vq,
00064     void        *vn);
00065 
00076 void piqUnshift(
00077     void        *vq,
00078     void        *vn);
00079 
00090 void *piqShift(
00091     void        *vq);
00092     
00103 void *piqDeQ(
00104     void        *vq);
00105 
00106 /* end idem */
00107 #endif