flex.h 1.02 KB
Newer Older
rpolzer's avatar
rpolzer committed
1
/*
2
   Copyright (C) 1999-2007 id Software, Inc. and contributors.
Rudolf Polzer's avatar
Rudolf Polzer committed
3
   For a list of contributors, see the accompanying CONTRIBUTORS file.
rpolzer's avatar
rpolzer committed
4

Rudolf Polzer's avatar
Rudolf Polzer committed
5
   This file is part of GtkRadiant.
rpolzer's avatar
rpolzer committed
6

Rudolf Polzer's avatar
Rudolf Polzer committed
7 8 9 10
   GtkRadiant 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.
rpolzer's avatar
rpolzer committed
11

Rudolf Polzer's avatar
Rudolf Polzer committed
12 13 14 15
   GtkRadiant 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.
rpolzer's avatar
rpolzer committed
16

Rudolf Polzer's avatar
Rudolf Polzer committed
17 18 19 20
   You should have received a copy of the GNU General Public License
   along with GtkRadiant; if not, write to the Free Software
   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
rpolzer's avatar
rpolzer committed
21

Rudolf Polzer's avatar
Rudolf Polzer committed
22
// Generic flexible format
rpolzer's avatar
rpolzer committed
23 24 25

typedef struct
{
Rudolf Polzer's avatar
Rudolf Polzer committed
26 27 28
	char ident[32];
	int version;
	int size;
rpolzer's avatar
rpolzer committed
29 30
} header_t;

Rudolf Polzer's avatar
Rudolf Polzer committed
31
void WriteHeader( FILE *, char *, int, int, void * );
rpolzer's avatar
rpolzer committed
32 33

// end