Back to index

cell-binutils  2.17cvs20070401
nlmconv.h
Go to the documentation of this file.
00001 /* nlmconv.h -- header file for NLM conversion program
00002    Copyright 1993, 2002, 2003 Free Software Foundation, Inc.
00003 
00004 This file is part of GNU Binutils.
00005 
00006 This program is free software; you can redistribute it and/or modify
00007 it under the terms of the GNU General Public License as published by
00008 the Free Software Foundation; either version 2 of the License, or
00009 (at your option) any later version.
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., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.  */
00019 
00020 /* Written by Ian Lance Taylor <ian@cygnus.com>.
00021 
00022    bfd.h, nlm/common.h and nlm/internal.h must be included before this
00023    file.  */
00024 
00025 /* A linked list of strings.  */
00026 
00027 struct string_list
00028 {
00029   struct string_list *next;
00030   char *string;
00031 };
00032 
00033 /* The NLM header parser in nlmheader.y stores information in the
00034    following variables.  */
00035 
00036 extern Nlm_Internal_Fixed_Header *fixed_hdr;
00037 extern Nlm_Internal_Variable_Header *var_hdr;
00038 extern Nlm_Internal_Version_Header *version_hdr;
00039 extern Nlm_Internal_Copyright_Header *copyright_hdr;
00040 extern Nlm_Internal_Extended_Header *extended_hdr;
00041 
00042 /* Procedure named by CHECK.  */
00043 extern char *check_procedure;
00044 /* File named by CUSTOM.  */
00045 extern char *custom_file;
00046 /* Whether to generate debugging information (DEBUG).  */
00047 extern bfd_boolean debug_info;
00048 /* Procedure named by EXIT.  */
00049 extern char *exit_procedure;
00050 /* Exported symbols (EXPORT).  */
00051 extern struct string_list *export_symbols;
00052 /* List of files from INPUT.  */
00053 extern struct string_list *input_files;
00054 /* Map file name (MAP, FULLMAP).  */
00055 extern char *map_file;
00056 /* Whether a full map has been requested (FULLMAP).  */
00057 extern bfd_boolean full_map;
00058 /* File named by HELP.  */
00059 extern char *help_file;
00060 /* Imported symbols (IMPORT).  */
00061 extern struct string_list *import_symbols;
00062 /* File named by MESSAGES.  */
00063 extern char *message_file;
00064 /* Autoload module list (MODULE).  */
00065 extern struct string_list *modules;
00066 /* File named by OUTPUT.  */
00067 extern char *output_file;
00068 /* File named by SHARELIB.  */
00069 extern char *sharelib_file;
00070 /* Start procedure name (START).  */
00071 extern char *start_procedure;
00072 /* VERBOSE.  */
00073 extern bfd_boolean verbose;
00074 /* RPC description file (XDCDATA).  */
00075 extern char *rpc_file;
00076 
00077 /* The number of serious parse errors.  */
00078 extern int parse_errors;
00079 
00080 /* The parser.  */
00081 extern int yyparse (void);
00082 
00083 /* Tell the lexer what file to read.  */
00084 extern bfd_boolean nlmlex_file (const char *);