bucomm.h

Go to the documentation of this file.
00001 /* bucomm.h -- binutils common include file.
00002    Copyright (C) 1992, 93, 94, 95, 96, 1997 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
00019 
00020 #ifndef _BUCOMM_H
00021 #define _BUCOMM_H
00022 
00023 #include "ansidecl.h"
00024 #include <stdio.h>
00025 #include <sys/types.h>
00026 
00027 #include <errno.h>
00028 #include <unistd.h>
00029 
00030 #include <string.h>
00031 
00032 #include <stdlib.h>
00033 
00034 #include <fcntl.h>
00035 
00036 #ifdef __GNUC__
00037 # undef alloca
00038 # define alloca __builtin_alloca
00039 #else
00040 # if HAVE_ALLOCA_H
00041 #  include <alloca.h>
00042 # else
00043 #  ifndef alloca /* predefined by HP cc +Olibcalls */
00044 #   if !defined (__STDC__) && !defined (__hpux)
00045 char *alloca ();
00046 #   else
00047 void *alloca ();
00048 #   endif /* __STDC__, __hpux */
00049 #  endif /* alloca */
00050 # endif /* HAVE_ALLOCA_H */
00051 #endif
00052 
00053 #ifndef BFD_TRUE_FALSE
00054 #define boolean bfd_boolean
00055 #define true TRUE
00056 #define false FALSE
00057 #endif
00058 
00059 /* bucomm.c */
00060 void bfd_nonfatal PARAMS ((CONST char *));
00061 
00062 void bfd_fatal PARAMS ((CONST char *));
00063 
00064 void fatal PARAMS ((CONST char *, ...));
00065 
00066 void set_default_bfd_target PARAMS ((void));
00067 
00068 void list_matching_formats PARAMS ((char **p));
00069 
00070 void list_supported_targets PARAMS ((const char *, FILE *));
00071 
00072 void print_arelt_descr PARAMS ((FILE *file, bfd *abfd, boolean verbose));
00073 
00074 char *make_tempname PARAMS ((char *));
00075 
00076 bfd_vma parse_vma PARAMS ((const char *, const char *));
00077 
00078 extern char *program_name;
00079 
00080 /* filemode.c */
00081 void mode_string PARAMS ((unsigned long mode, char *buf));
00082 
00083 /* version.c */
00084 extern void print_version PARAMS ((const char *));
00085 
00086 /* libiberty */
00087 PTR xmalloc PARAMS ((size_t));
00088 
00089 PTR xrealloc PARAMS ((PTR, size_t));
00090 
00091 #endif /* _BUCOMM_H */

Generated on Thu Feb 24 10:22:29 2005 for MySQL by  doxygen 1.3.9.1