⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 types.h

📁 CC386 is a general-purpose 32-bit C compiler. It is not an optimizing compiler but given that the co
💻 H
📖 第 1 页 / 共 3 页
字号:
/* 
   Copyright 1994-2003 Free Software Foundation, Inc.

   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 the Free Software
   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
   02111-1307, USA.  

   You may contact the author at:

   mailto::camille@bluegrass.net

   or by snail mail at:

   David Lindauer
   850 Washburn Ave Apt 99
   Louisville, KY 40222
*/
/*                                 TYPES.H                                 */

Type
 Structure acbp_struct                       acbp_type;
Type acbp_type                              *acbp_ptr;
Type
 Structure bit_32_switch_struct              bit_32_switch_type;
Type bit_32_switch_type                     *bit_32_switch_ptr;
Type
 Structure boolean_switch_struct             boolean_switch_type;
Type boolean_switch_type                    *boolean_switch_ptr;
Type
 Enumeration combine_enum                    combine_type;
Type
 Structure communal_entry_struct             communal_entry_type;
Type
 struct find_t                               DTA_type;
Type DTA_type                               *DTA_ptr;
Type
 Union entry_information_union               entry_information_type;
Type
 Structure EXE_header_struct                 EXE_header_type;
Type EXE_header_type                        *EXE_header_ptr;
Type 
 Structure export_header_struct              export_header_type ;
Type export_header_type                     *export_header_ptr ;
Type
 Structure external_entry_struct             external_entry_type;
Type
 Structure file_info_struct                  file_info_type;
Type file_info_type                         *file_info_ptr;
Type
 Structure file_struct                       file_type;
Type file_type                              *file_ptr;
Type
 Structure FIX_DAT_struct                    FIX_DAT_type;
Type FIX_DAT_type                           *FIX_DAT_ptr;
Type
 Structure fixup_struct                      fixup_type;
Type
 Structure fixup_hold_struct                 fixup_hold_type ;
Type fixup_hold_type                        *fixup_hold_ptr ;
Type fixup_hold_ptr                         *fixup_hold_ptr_array ;
Type
 Structure fixup_block_struct                fixup_block_type ;
Type fixup_block_type                       *fixup_block_ptr ;
Type
 Structure fixup_list_struct				 fixup_list_type ;
Type fixup_list_type						*fixup_list_ptr ;
Type
 Structure group_entry_struct                group_entry_type;
Type group_entry_type                       *group_entry_ptr;
Type group_entry_ptr                        *group_entry_ptr_array;
Type
 Structure internal_entry_struct             internal_entry_type;
Type 
 Structure le_object_page_struct             le_object_page_type ;
Type le_object_page_type                    *le_object_page_ptr ;
Type
 Structure library_directory_struct          library_directory_type;
Type library_directory_type                 *library_directory_ptr;
Type
 Structure library_entry_struct              library_entry_type;
Type
 Structure library_file_header_struct        library_file_header_type;
Type library_file_header_type               *library_file_header_ptr;
Type
 Structure library_symbol_entry_struct       library_symbol_entry_type;
Type library_symbol_entry_type              *library_symbol_entry_ptr;
Type
 Structure lname_entry_struct                lname_entry_type;
Type lname_entry_type                       *lname_entry_ptr;
Type lname_entry_ptr                        *lname_entry_ptr_array;
Type
 Enumeration loc_enum                        loc_type;
Type
 Structure LOCAT_struct                      LOCAT_type;
Type LOCAT_type                             *LOCAT_ptr;
Type
 Structure lseg_struct                       lseg_type;
Type lseg_type                              *lseg_ptr;
Type lseg_ptr                               *lseg_ptr_array;
Type
 Structure lx_fixup_hold_struct              lx_fixup_hold_type ;
Type lx_fixup_hold_type                     *lx_fixup_hold_ptr ;
Type lx_fixup_hold_ptr                      *lx_fixup_hold_ptr_array ;
Type 
 Structure lx_fixup_page_struct              lx_fixup_page_type ;
Type lx_fixup_page_type                     *lx_fixup_page_ptr ;
Type
 Structure lx_header_struct                  lx_header_type ;
Type lx_header_type                         *lx_header_ptr ;
Type 
 Structure lx_object_struct                  lx_object_type ;
Type lx_object_type                         *lx_object_ptr ;
Type 
 Structure lx_object_page_struct             lx_object_page_type ;
Type lx_object_page_type                    *lx_object_page_ptr ;
Type
 Structure lx_section_struct                 lx_section_type ;
Type lx_section_type                        *lx_section_ptr ;
Type lx_section_ptr                         *lx_section_ptr_array ;
Type
 Structure module_struct                     module_type ;
Type module_type                            *module_ptr ;
Type module_ptr                             *module_ptr_array ;
Type
 Structure MOD_TYP_struct                    MOD_TYP_type;
Type MOD_TYP_type                           *MOD_TYP_ptr;
Type
 Union obj_ptr_union                         obj_ptr_type;
Type
 Structure obj_record_header_struct          obj_record_header_type;
Type obj_record_header_type                 *obj_record_header_ptr;
Type
 Enumeration obj_mod_rec_type_enum           object_module_record_types;
Type
 Structure pe_header_struct                  pe_header_type ;
Type pe_header_type                         *pe_header_ptr ;
Type
 Structure pe_import_dir_struct              pe_import_dir_type ;
Type pe_import_dir_type                     *pe_import_dir_ptr ;
Type
 Structure pe_import_fixup_struct            pe_import_fixup_type ;
Type pe_import_fixup_type                   *pe_import_fixup_ptr ;
Type pe_import_fixup_ptr                    *pe_import_fixup_ptr_array ;
Type
 Structure pe_import_lookup_struct           pe_import_lookup_type ;
Type pe_import_lookup_type                  *pe_import_lookup_ptr ;
Type
 Structure pe_import_module_struct           pe_import_module_type ;
Type pe_import_module_type                  *pe_import_module_ptr ;
Type pe_import_module_ptr                   *pe_import_module_ptr_array ;
Type
 Structure pe_object_struct                  pe_object_type ;
Type pe_object_type                         *pe_object_ptr ;
Type
 Structure pe_section_struct                 pe_section_type ;
Type pe_section_type                        *pe_section_ptr ;
Type pe_section_ptr                         *pe_section_ptr_array ;
Type
 Enumeration public_entry_class_enum         public_entry_class_type;
Type
 Structure public_entry_struct               public_entry_type;
Type public_entry_type                      *public_entry_ptr;
Type public_entry_ptr                       *public_entry_ptr_array;
Type
 Structure resource_data_struct              resource_data_type ;
Type resource_data_type                     *resource_data_ptr ;
Type
 Structure resource_data_list_struct         resource_data_list_type ;
Type resource_data_list_type                *resource_data_list_ptr ;
Type
 Structure resource_data_entry_struct        resource_data_entry_type ;
Type resource_data_entry_type               *resource_data_entry_ptr ;
Type
 Structure resource_dir_entry_struct         resource_dir_entry_type ;
Type resource_dir_entry_type                *resource_dir_entry_ptr ;
Type
 Structure resource_dir_table_struct         resource_dir_table_type ;
Type resource_dir_table_type                *resource_dir_table_ptr ;
Type
 Structure resource_header_struct            resource_header_type ;
Type resource_header_type                   *resource_header_ptr ;
Type
 Structure segment_entry_struct              segment_entry_type;
Type segment_entry_type                     *segment_entry_ptr;
Type segment_entry_ptr                      *segment_entry_ptr_array;
Type
 Structure switch_table_struct               switch_table_type;
Type switch_table_type                      *switch_table_ptr;
Type
 Structure text_switch_struct                text_switch_type;
Type text_switch_type                       *text_switch_ptr;
Type
 Structure thread_struct                     thread_type;
Type
 Structure TRD_DAT_struct                    TRD_DAT_type;
Type TRD_DAT_type                           *TRD_DAT_ptr;
Type
 Enumeration token_class_enum                token_class_type;
Type
 Structure token_stack_struct                token_stack_type;
Type token_stack_type                       *token_stack_ptr;
Type
 Structure virtual_entry_struct              virtual_entry_type;

Structure acbp_struct
 BeginStructure
  unsigned                             p:1;
  unsigned                             b:1;
  unsigned                             c:3;
  unsigned                             a:3;
 EndStructure;

Enumeration align_enum
 BeginEnumeration
  absolute_segment,
  byte_aligned,
  word_aligned,
  paragraph_aligned,
  page_aligned,
  dword_aligned,
  fourk_aligned
 EndEnumeration;

Structure bit_32_switch_struct
 BeginStructure
  bit_32                               val;
  bit_32                               min;
  bit_32                               max;
  bit_32                               def;
  bit_32                               set;
 EndStructure;

Structure boolean_switch_struct
 BeginStructure
  bit_16                               val;
 EndStructure;

Enumeration combine_enum
 BeginEnumeration
  private_combine                      = 0,
  public_combine                       = 2,
  stack_combine                        = 5,
  common_combine                       = 6,
  blank_common_combine                 = 9,
  virtual_combine 		       = 15,
 EndEnumeration;

Structure EXE_header_struct
 BeginStructure
  bit_16                               signature;
  bit_16                               image_length_MOD_512;
  bit_16                               image_length_DIV_512;
  bit_16                               n_relocation_items;
  bit_16                               n_header_paragraphs;
  bit_16                               min_paragraphs_above;
  bit_16                               max_paragraphs_above;
  bit_16                               initial_SS;
  bit_16                               initial_SP;
  bit_16                               checksum;
  bit_16                               initial_IP;
  bit_16                               initial_CS;
  bit_16                               offset_to_relocation_table;
  bit_16                               overlay;
  bit_16                               always_one;
  bit_32                               relocation_table[1];
 EndStructure;

Structure external_entry_struct
 BeginStructure
  bit_16                               reserved;
 EndStructure;

Structure internal_entry_struct
 BeginStructure
  group_entry_ptr                      group;
  lseg_ptr                             lseg;
  bit_32                               segment_index;
  bit_32                               frame; /* also used to point to import thunks */
  bit_32                               offset;
 EndStructure;

Structure library_entry_struct
 BeginStructure
  file_info_ptr                        lib_file;
  bit_16                               page;
  bit_8                                requested;
 EndStructure;

Structure communal_entry_struct
 BeginStructure
  public_entry_ptr                     next_communal;
  bit_32                               element_size;
  bit_32                               element_count;
 EndStructure;

Structure virtual_entry_struct
 BeginStructure
  public_entry_ptr		       next_virtual;
  bit_32 			       element_size;
  bit_32			       seg_index ;
  lseg_ptr                             enclosing_segment;
  lseg_ptr                             lseg;
 EndStructure;

Union entry_information_union
 BeginUnion
  library_entry_type                   library_type;
  external_entry_type                  external_type;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -