2001-05-25 20:31:47 +00:00
|
|
|
/*
|
|
|
|
gib_interpret.h
|
|
|
|
|
|
|
|
#DESCRIPTION#
|
|
|
|
|
|
|
|
Copyright (C) 2000 #AUTHOR#
|
|
|
|
|
|
|
|
Author: #AUTHOR#
|
|
|
|
Date: #DATE#
|
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or
|
|
|
|
modify it under the terms of the GNU General Public License
|
|
|
|
as published by the Free Software Foundation; either version 2
|
|
|
|
of the License, or (at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
|
|
|
|
See the GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program; if not, write to:
|
|
|
|
|
|
|
|
Free Software Foundation, Inc.
|
|
|
|
59 Temple Place - Suite 330
|
|
|
|
Boston, MA 02111-1307, USA
|
|
|
|
|
|
|
|
$Id$
|
|
|
|
*/
|
|
|
|
|
2001-05-25 16:09:14 +00:00
|
|
|
#include "QF/gib.h"
|
|
|
|
|
2001-02-19 21:15:25 +00:00
|
|
|
#define GIB_MAXCALLS 2048
|
|
|
|
#define GIB_MAXSUBARGS 256
|
|
|
|
|
2001-07-15 07:04:17 +00:00
|
|
|
extern const char *gib_subargv[256];
|
2001-02-19 21:15:25 +00:00
|
|
|
extern int gib_subargc;
|
|
|
|
|
2001-07-15 07:04:17 +00:00
|
|
|
const char *GIB_Argv(int i);
|
2001-02-19 21:15:25 +00:00
|
|
|
int GIB_Argc(void);
|
|
|
|
void GIB_Strip_Arg (char *arg);
|
2001-07-15 07:04:17 +00:00
|
|
|
int GIB_Execute_Block (const char *block, int retflag);
|
2001-02-19 21:15:25 +00:00
|
|
|
int GIB_Execute_Inst (void);
|
|
|
|
int GIB_Execute_Sub (void);
|
2001-07-15 07:04:17 +00:00
|
|
|
int GIB_Interpret_Inst (const char *inst);
|
|
|
|
int GIB_Run_Inst (const char *inst);
|
2001-02-19 21:15:25 +00:00
|
|
|
int GIB_Run_Sub (gib_module_t *mod, gib_sub_t *sub);
|