2007-12-30 17:41:49 +01:00
|
|
|
/***************************************************************************
|
|
|
|
|
2009-08-17 12:41:51 +02:00
|
|
|
gbc_header.h
|
2007-12-30 17:41:49 +01:00
|
|
|
|
2017-01-13 04:29:42 +01:00
|
|
|
(c) 2000-2017 Benoît Minisini <gambas@users.sourceforge.net>
|
2007-12-30 17:41:49 +01:00
|
|
|
|
|
|
|
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
|
2009-08-17 12:41:51 +02:00
|
|
|
the Free Software Foundation; either version 2, or (at your option)
|
2007-12-30 17:41:49 +01:00
|
|
|
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 the Free Software
|
2011-06-03 02:51:09 +02:00
|
|
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
2011-12-31 03:39:20 +01:00
|
|
|
MA 02110-1301, USA.
|
2007-12-30 17:41:49 +01:00
|
|
|
|
|
|
|
***************************************************************************/
|
|
|
|
|
|
|
|
#ifndef __GBC_HEADER_H
|
|
|
|
#define __GBC_HEADER_H
|
|
|
|
|
|
|
|
#include "gbc_type.h"
|
|
|
|
#include "gb_reserved.h"
|
|
|
|
#include "gbc_read.h"
|
|
|
|
#include "gb_limit.h"
|
|
|
|
#include "gbc_trans.h"
|
|
|
|
|
|
|
|
|
|
|
|
enum {
|
|
|
|
HF_NORMAL = 0,
|
|
|
|
HF_NO_3PTS = 1,
|
|
|
|
HF_EVENT = 2,
|
|
|
|
HF_NO_OPT = 4,
|
2011-12-22 19:35:14 +01:00
|
|
|
HF_VOID = 8,
|
|
|
|
HF_NO_BYREF = 16
|
2007-12-30 17:41:49 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
enum {
|
2009-07-12 23:49:13 +02:00
|
|
|
HS_ERROR = 0,
|
|
|
|
HS_PUBLIC = 1 << 0,
|
|
|
|
HS_STATIC = 1 << 1,
|
|
|
|
HS_DYNAMIC = 1 << 2,
|
|
|
|
HS_PROCEDURE = 1 << 3,
|
|
|
|
HS_FUNCTION = 1 << 4,
|
|
|
|
HS_PUT = 1 << 5,
|
|
|
|
HS_UNKNOWN = 1 << 6,
|
2011-07-03 04:46:15 +02:00
|
|
|
HS_PROPERTY = 1 << 7,
|
|
|
|
HS_NOPARAM = 1 << 8,
|
|
|
|
HS_COMPARE = 1 << 9,
|
|
|
|
HS_ATTACH = 1 << 10
|
2007-12-30 17:41:49 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
typedef
|
|
|
|
struct {
|
|
|
|
char *name;
|
|
|
|
int flag;
|
|
|
|
}
|
|
|
|
HEADER_SPECIAL;
|
|
|
|
|
|
|
|
|
2009-07-08 21:57:50 +02:00
|
|
|
void HEADER_do(void);
|
2007-12-30 17:41:49 +01:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|