2011-01-24 23:54:02 +00:00
|
|
|
/*
|
|
|
|
qfprogs.h
|
|
|
|
|
|
|
|
Progs dumping, main header.
|
|
|
|
|
|
|
|
Copyright (C) 2002 Bill Currie <bill@taniwha.org>
|
|
|
|
|
|
|
|
Author: Bill Currie <bill@taniwha.org>
|
|
|
|
Date: 2002/05/13
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2004-01-28 05:23:43 +00:00
|
|
|
#ifndef __qfprogs_h
|
|
|
|
#define __qfprogs_h
|
|
|
|
|
|
|
|
struct progs_s;
|
2007-04-09 07:47:51 +00:00
|
|
|
struct qfo_s;
|
2004-01-28 05:23:43 +00:00
|
|
|
|
|
|
|
extern int sorted;
|
|
|
|
extern int verbosity;
|
|
|
|
|
2007-04-09 13:33:59 +00:00
|
|
|
extern const char *reloc_names[];
|
|
|
|
|
2004-01-28 05:23:43 +00:00
|
|
|
void disassemble_progs (struct progs_s *pr);
|
|
|
|
|
|
|
|
void dump_globals (struct progs_s *pr);
|
|
|
|
void dump_fields (struct progs_s *pr);
|
|
|
|
void dump_functions (struct progs_s *pr);
|
|
|
|
|
|
|
|
void dump_lines (struct progs_s *pr);
|
|
|
|
|
|
|
|
void dump_modules (struct progs_s *pr);
|
|
|
|
|
|
|
|
struct dfunction_s *func_find (int st_num);
|
|
|
|
|
|
|
|
void dump_strings (struct progs_s *pr);
|
|
|
|
|
2007-04-09 13:33:59 +00:00
|
|
|
void qfo_globals (struct qfo_s *qfo);
|
2008-08-01 13:54:24 +00:00
|
|
|
void qfo_functions (struct qfo_s *qfo);
|
2007-04-09 13:33:59 +00:00
|
|
|
void qfo_relocs (struct qfo_s *qfo);
|
2012-11-07 11:32:14 +00:00
|
|
|
void qfo_types (struct qfo_s *qfo);
|
2007-04-09 13:33:59 +00:00
|
|
|
|
2004-01-28 05:23:43 +00:00
|
|
|
#endif//__qfprogs_h
|