2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
[deliverable/binutils-gdb.git] / binutils / bucomm.h
CommitLineData
252b5132 1/* bucomm.h -- binutils common include file.
b34976b6 2 Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
92f01d61 3 2001, 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc.
252b5132 4
06d86cf7 5 This file is part of GNU Binutils.
252b5132 6
06d86cf7
NC
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
32866df7 9 the Free Software Foundation; either version 3 of the License, or
06d86cf7 10 (at your option) any later version.
252b5132 11
06d86cf7
NC
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
252b5132 16
06d86cf7
NC
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
32866df7
NC
19 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
20 MA 02110-1301, USA. */
252b5132
RH
21\f
22#ifndef _BUCOMM_H
23#define _BUCOMM_H
24
77f762d6
L
25/* Return the filename in a static buffer. */
26const char *bfd_get_archive_filename (bfd *);
27
2da42df6 28void bfd_nonfatal (const char *);
37cc8ec1 29
2da42df6 30void bfd_fatal (const char *) ATTRIBUTE_NORETURN;
252b5132 31
0fd3a477 32void report (const char *, va_list) ATTRIBUTE_PRINTF(1,0);
cba12006 33
2da42df6 34void fatal (const char *, ...) ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN;
252b5132 35
2da42df6 36void non_fatal (const char *, ...) ATTRIBUTE_PRINTF_1;
252b5132 37
2da42df6 38void set_default_bfd_target (void);
252b5132 39
2da42df6 40void list_matching_formats (char **);
252b5132 41
2da42df6 42void list_supported_targets (const char *, FILE *);
252b5132 43
2da42df6 44void list_supported_architectures (const char *, FILE *);
2f83960e 45
2da42df6 46int display_info (void);
252b5132 47
2da42df6 48void print_arelt_descr (FILE *, bfd *, bfd_boolean);
252b5132 49
2da42df6 50char *make_tempname (char *);
f9c026a8 51char *make_tempdir (char *);
2da42df6
AJ
52
53bfd_vma parse_vma (const char *, const char *);
252b5132 54
f24ddbdd
NC
55off_t get_file_size (const char *);
56
252b5132
RH
57extern char *program_name;
58
59/* filemode.c */
2da42df6 60void mode_string (unsigned long, char *);
252b5132
RH
61
62/* version.c */
2da42df6 63extern void print_version (const char *);
252b5132
RH
64
65/* rename.c */
2da42df6 66extern void set_times (const char *, const struct stat *);
252b5132 67
2da42df6 68extern int smart_rename (const char *, const char *, int);
252b5132 69
06d86cf7 70/* libiberty. */
2da42df6 71void *xmalloc (size_t);
252b5132 72
2da42df6 73void *xrealloc (void *, size_t);
252b5132
RH
74
75#endif /* _BUCOMM_H */
This page took 0.299464 seconds and 4 git commands to generate.