Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

coff_s.cc

Go to the documentation of this file.
00001 /* 
00002  *      HT Editor
00003  *      coff_s.h
00004  *
00005  *      Copyright (C) 1999-2002 Stefan Weyergraf (stefan@weyergraf.de)
00006  *
00007  *      This program is free software; you can redistribute it and/or modify
00008  *      it under the terms of the GNU General Public License version 2 as
00009  *      published by the Free Software Foundation.
00010  *
00011  *      This program is distributed in the hope that it will be useful,
00012  *      but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  *      GNU General Public License for more details.
00015  *
00016  *      You should have received a copy of the GNU General Public License
00017  *      along with this program; if not, write to the Free Software
00018  *      Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00019  */
00020 
00021 #include "coff_s.h"
00022 #include "htendian.h"
00023 
00024 byte COFF_HEADER_struct[] = {
00025         STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00026         STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00027         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00028         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00029         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00030         STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00031         STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00032         0
00033 };
00034 
00035 byte COFF_OPTIONAL_HEADER32_struct[] = {
00036         STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00037         STRUCT_ENDIAN_BYTE | STRUCT_ENDIAN_HOST,
00038         STRUCT_ENDIAN_BYTE | STRUCT_ENDIAN_HOST,
00039         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00040         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00041         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00042         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00043         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00044         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00045         0
00046 };
00047 
00048 byte COFF_OPTIONAL_HEADER64_struct[] = {
00049         STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00050         STRUCT_ENDIAN_BYTE | STRUCT_ENDIAN_HOST,
00051         STRUCT_ENDIAN_BYTE | STRUCT_ENDIAN_HOST,
00052         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00053         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00054         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00055         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00056         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00057         0
00058 };
00059 
00060 byte COFF_SECTION_HEADER_struct[] = {
00061         COFF_SIZEOF_SHORT_NAME,
00062         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00063         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00064         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00065         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00066         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00067         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00068         STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00069         STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00070         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00071         0
00072 };
00073 
00074 

Generated on Fri May 7 21:15:29 2004 by doxygen 1.3.5