PageRenderTime 18ms CodeModel.GetById 15ms app.highlight 2ms RepoModel.GetById 0ms app.codeStats 0ms

/contrib/cvs/src/stack.h

https://bitbucket.org/freebsd/freebsd-head/
C++ Header | 17 lines | 9 code | 1 blank | 7 comment | 0 complexity | 159b4ce998f96887bb7b4566052df87e MD5 | raw file
Possible License(s): MPL-2.0-no-copyleft-exception, BSD-3-Clause, LGPL-2.0, LGPL-2.1, BSD-2-Clause, 0BSD, JSON, AGPL-1.0, GPL-2.0
 1/*
 2 * Copyright (c) 2004-2005 The Free Software Foundation,
 3 *                         Derek Price, and Ximbiot <http://ximbiot.com>.
 4 * 
 5 * You may distribute under the terms of the GNU General Public License as
 6 * specified in the README file that comes with the CVS source distribution.
 7 */
 8
 9void push PROTO((List *_stack, void *_elem));
10void *pop PROTO((List *_stack));
11void unshift PROTO((List *_stack, void *_elem));
12void *shift PROTO((List *_stack));
13void push_string PROTO((List *_stack, char *_elem));
14char *pop_string PROTO((List *_stack));
15void unshift_string PROTO((List *_stack, char *_elem));
16char *shift_string PROTO((List *_stack));
17int isempty PROTO((List *_stack));