#include "auto-host.h"#include "ansidecl.h"#include "config.h"#include "system.h"#include "gnu-regex.h"#include "machname.h"#include "libiberty.h"


Go to the source code of this file.
Data Types | |
| type | test_desc |
| type | fix_desc |
| type | t_gnu_type_map |
Defines | |
| #define | STDIN_FILENO 0 |
| #define | STDOUT_FILENO 1 |
| #define | FAILURE (-1) |
| #define | SUCCESS 0 |
| #define | PROBLEM 1 |
| #define | SUCCEEDED(p) ((p) == SUCCESS) |
| #define | SUCCESSFUL(p) SUCCEEDED (p) |
| #define | FAILED(p) ((p) < SUCCESS) |
| #define | HADGLITCH(p) ((p) > SUCCESS) |
| #define | STATIC static |
| #define | tSCC static const char |
| #define | tCC const char |
| #define | tSC static char |
| #define | MAXPATHLEN 4096 |
| #define | EXIT_SUCCESS 0 |
| #define | EXIT_FAILURE 1 |
| #define | EXIT_BROKEN 3 |
| #define | NUL '\0' |
| #define | NOPROCESS ((pid_t) -1) |
| #define | NULLPROCESS ((pid_t)0) |
| #define | EXIT_PANIC 99 |
| #define | IGNORE_ARG(a) ((void)(a)) |
| #define | APPLY_FIX 0 |
| #define | SKIP_FIX 1 |
| #define | ENV_TABLE |
| #define | FD_MACH_ONLY 0x0000 |
| #define | FD_MACH_IFNOT 0x0001 |
| #define | FD_SHELL_SCRIPT 0x0002 |
| #define | FD_SUBROUTINE 0x0004 |
| #define | FD_REPLACEMENT 0x0008 |
| #define | FD_SKIP_TEST 0x8000 |
| #define | UNLOAD_DATA() free ((void*)pz_curr_data) |
Typedefs | |
| typedef int | t_success |
| typedef int | apply_fix_p_t |
| typedef struct test_desc | tTestDesc |
| typedef struct patch_desc | tPatchDesc |
| typedef struct fix_desc | tFixDesc |
Enumerations | |
| enum | t_bool { BOOL_FALSE, BOOL_TRUE, BOOL_FALSE, BOOL_TRUE, BOOL_FALSE, BOOL_TRUE, t_false, t_true, t_dont_know } |
| enum | te_test_type { TT_TEST, TT_EGREP, TT_NEGREP, TT_FUNCTION, TT_TEST, TT_EGREP, TT_NEGREP, TT_FUNCTION, TT_TEST, TT_EGREP, TT_NEGREP, TT_FUNCTION } |
Functions/Subroutines | |
| char *load_file_data | PARAMS ((FILE *fp)) |
| void compile_re | PARAMS ((tCC *pat, regex_t *re, int match, tCC *e1, tCC *e2)) |
| void apply_fix | PARAMS ((tFixDesc *p_fixd, tCC *filname)) |
| apply_fix_p_t run_test | PARAMS ((tCC *t_name, tCC *f_name, tCC *text)) |
Variables | |
| int | gnu_type_map_ct |
| #define APPLY_FIX 0 |
Definition at line 99 of file fixlib.h.
Referenced by egrep_test(), fix_applies(), TEST_FOR_FIX_PROC_HEAD(), and test_test().
| #define ENV_TABLE |
Value:
_ENV_( pz_machine, BOOL_TRUE, "TARGET_MACHINE", \ "output from config.guess" ) \ \ _ENV_( pz_orig_dir, BOOL_TRUE, "ORIGDIR", \ "directory of fixincl and applyfix" ) \ \ _ENV_( pz_src_dir, BOOL_TRUE, "SRCDIR", \ "directory of original files" ) \ \ _ENV_( pz_input_dir, BOOL_TRUE, "INPUT", \ "current directory for fixincl" ) \ \ _ENV_( pz_dest_dir, BOOL_TRUE, "DESTDIR", \ "output directory" ) \ \ _ENV_( pz_verbose, BOOL_FALSE, "VERBOSE", \ "amount of user entertainment" ) \ \ _ENV_( pz_find_base, BOOL_TRUE, "FIND_BASE", \ "leader to trim from file names" )
Definition at line 102 of file fixlib.h.
Referenced by initialize(), and initialize_opts().
| #define EXIT_BROKEN 3 |
| #define EXIT_PANIC 99 |
Definition at line 52 of file fixlib.h.
Referenced by main(), print_error(), process_args(), and process_one_file().
| #define FD_MACH_IFNOT 0x0001 |
| #define FD_SHELL_SCRIPT 0x0002 |
| #define FD_SKIP_TEST 0x8000 |
| #define FD_SUBROUTINE 0x0004 |
Definition at line 90 of file fixlib.h.
Referenced by FIX_PROC_HEAD(), and TEST_FOR_FIX_PROC_HEAD().
| #define NOPROCESS ((pid_t) -1) |
Definition at line 84 of file fixlib.h.
Referenced by chain_open(), close_server(), proc2_fopen(), proc2_open(), and process().
| #define NUL '\0' |
Definition at line 81 of file fixlib.h.
Referenced by create_file(), emit_gnu_type(), FIX_PROC_HEAD(), format_write(), initialize(), load_data(), load_file_data(), and write_replacement().
| #define NULLPROCESS ((pid_t)0) |
Definition at line 85 of file fixlib.h.
Referenced by chain_open(), close_server(), and run_shell().
| #define SKIP_FIX 1 |
Definition at line 100 of file fixlib.h.
Referenced by egrep_test(), TEST_FOR_FIX_PROC_HEAD(), and test_test().
| #define SUCCESS 0 |
Definition at line 47 of file fixlib.h.
Referenced by f_del_com(), f_unl_com(), idxclose(), idxopen(), idxread(), idxrewrite(), and idxwrite().
| #define tCC const char |
Definition at line 62 of file fixlib.h.
Referenced by apply_fix(), chain_open(), FIX_PROC_HEAD(), machine_matches(), start_fixer(), and TEST_FOR_FIX_PROC_HEAD().
| #define tSCC static const char |
Definition at line 61 of file fixlib.h.
Referenced by compile_re(), emit_gnu_type(), FIX_PROC_HEAD(), machine_matches(), run_shell(), start_fixer(), and test_test().
| #define UNLOAD_DATA | ( | ) | free ((void*)pz_curr_data) |
| typedef int apply_fix_p_t |
| typedef struct patch_desc tPatchDesc |
| enum t_bool |
| enum te_test_type |
| apply_fix_p_t run_test PARAMS | ( | (tCC *t_name, tCC *f_name, tCC *text) | ) |
| int gnu_type_map_ct |
1.5.6