1 /*
2 	#FILENAME#
3 
4 	#DESCRIPTION#
5 
6 	Copyright (C) 2002 #AUTHOR#
7 
8 	Author: #AUTHOR#
9 	Date: #DATE#
10 
11 	This program is free software; you can redistribute it and/or
12 	modify it under the terms of the GNU General Public License
13 	as published by the Free Software Foundation; either version 2
14 	of the License, or (at your option) any later version.
15 
16 	This program is distributed in the hope that it will be useful,
17 	but WITHOUT ANY WARRANTY; without even the implied warranty of
18 	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19 
20 	See the GNU General Public License for more details.
21 
22 	You should have received a copy of the GNU General Public License
23 	along with this program; if not, write to:
24 
25 		Free Software Foundation, Inc.
26 		59 Temple Place - Suite 330
27 		Boston, MA  02111-1307, USA
28 
29 */
30 
31 #ifndef __gib_buffer_h
32 #define __gib_buffer_h
33 
34 #include "QF/cbuf.h"
35 #include "gib_tree.h"
36 #include "QF/dstring.h"
37 
38 void GIB_Buffer_Set_Program (cbuf_t *cbuf, gib_tree_t *program);
39 void GIB_Buffer_Push_Sstack (struct cbuf_s *cbuf);
40 void GIB_Buffer_Pop_Sstack (struct cbuf_s *cbuf);
41 dstring_t *GIB_Buffer_Dsarray_Get (struct cbuf_s *cbuf);
42 void GIB_Buffer_Reply_Callback (int argc, const char **argv, void *data);
43 void GIB_Buffer_Error (cbuf_t *cbuf, const char *type, const char *fmt, va_list args);
44 
45 extern struct cbuf_interpreter_s gib_interp;
46 
47 #endif // __gib_buffer_h
48