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

nestruct.cc

Go to the documentation of this file.
00001 /* 
00002  *      HT Editor
00003  *      nestruct.cc
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 
00022 #include "global.h"
00023 #include "htendian.h"
00024 #include "nestruct.h"
00025 
00026 byte NE_HEADER_struct[] = {
00027         STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00028         STRUCT_ENDIAN_BYTE | STRUCT_ENDIAN_HOST,
00029         STRUCT_ENDIAN_BYTE | STRUCT_ENDIAN_HOST,
00030         STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00031         STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00032         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00033         STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00034         STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00035         STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00036         STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00037         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00038         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00039         STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00040         STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00041         STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00042         STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00043         STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00044         STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00045         STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00046         STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00047         STRUCT_ENDIAN_DWORD | STRUCT_ENDIAN_HOST,
00048         STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00049         STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00050         STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00051         STRUCT_ENDIAN_BYTE | STRUCT_ENDIAN_HOST,
00052         STRUCT_ENDIAN_BYTE | STRUCT_ENDIAN_HOST,
00053         STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00054         STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00055         STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00056         STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00057         0
00058 };
00059 
00060 byte NE_SEGMENT_struct[] = {
00061         STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00062         STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00063         STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00064         STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00065         0
00066 };
00067 
00068 byte NE_ENTRYPOINT_HEADER_struct[] = {
00069         STRUCT_ENDIAN_BYTE | STRUCT_ENDIAN_HOST,
00070         STRUCT_ENDIAN_BYTE | STRUCT_ENDIAN_HOST,
00071         0
00072 };
00073 
00074 byte NE_ENTRYPOINT_MOVABLE_struct[] = {
00075         STRUCT_ENDIAN_BYTE | STRUCT_ENDIAN_HOST,
00076         STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00077         STRUCT_ENDIAN_BYTE | STRUCT_ENDIAN_HOST,
00078         STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00079         0
00080 };
00081 
00082 byte NE_ENTRYPOINT_FIXED_struct[] = {
00083         STRUCT_ENDIAN_BYTE | STRUCT_ENDIAN_HOST,
00084         STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00085         0
00086 };
00087 
00088 byte NE_RELOC_HEADER_struct[] = {
00089         STRUCT_ENDIAN_BYTE | STRUCT_ENDIAN_HOST,
00090         STRUCT_ENDIAN_BYTE | STRUCT_ENDIAN_HOST,
00091         STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00092         0
00093 };
00094 
00095 byte NE_RELOC_INTERNAL_struct[] = {
00096         STRUCT_ENDIAN_BYTE | STRUCT_ENDIAN_HOST,
00097         STRUCT_ENDIAN_BYTE | STRUCT_ENDIAN_HOST,
00098         STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00099         0
00100 };
00101 
00102 byte NE_RELOC_IMPORT_struct[] = {
00103         STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00104         STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00105         0
00106 };
00107 
00108 byte NE_RELOC_FIXUP_struct[] = {
00109         STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00110         STRUCT_ENDIAN_WORD | STRUCT_ENDIAN_HOST,
00111         0
00112 };
00113 

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