PIPS
|
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include "genC.h"
#include "misc.h"
Go to the source code of this file.
Macros | |
#define | PIPS(c, v) pips_main(c, v) |
#define | TPIPS(c, v) tpips_main(c, v) |
#define | WPIPS(c, v) wpips_main(c, v) |
#define | GPIPS(c, v) gpips_main(c, v) |
#define | USAGE |
Functions | |
int | pips_main (int, char **) |
int | tpips_main (int, char **) |
int | wpips_main (int, char **) |
int | gpips_main (int, char **) |
static int | fpips_usage (int ret) |
print out usage informations. More... | |
static int | fpips_version (int ret) |
print out fpips version. More... | |
int | fpips_error (char *what, int __attribute__((unused)) argc, char __attribute__((unused)) **argv) |
non static to avoid a gcc warning if not called. More... | |
static int | name_end_p (char *name, char *ref) |
returns whether name ends with ref More... | |
int | fpips_main (int argc, char **argv) |
#define GPIPS | ( | c, | |
v | |||
) | gpips_main(c, v) |
#define TPIPS | ( | c, | |
v | |||
) | tpips_main(c, v) |
#define USAGE |
#define WPIPS | ( | c, | |
v | |||
) | wpips_main(c, v) |
int fpips_error | ( | char * | what, |
int __attribute__((unused)) | argc, | ||
char __attribute__((unused)) ** | argv | ||
) |
non static to avoid a gcc warning if not called.
Definition at line 108 of file fpips.c.
References fpips_usage(), fprintf(), and STRINGIFY.
should not happen
According to the shell or the debugger, the path may be complete or not... RK.
parsing of options may be continuate by called version.
else try tpips...
Definition at line 130 of file fpips.c.
References debug_off, debug_on, fpips_usage(), fpips_version(), fprintf(), GPIPS, name_end_p(), PIPS, pips_debug, same_string_p, TPIPS, and WPIPS.
Referenced by main().
print out usage informations.
Definition at line 92 of file fpips.c.
References fprintf(), ret, and USAGE.
Referenced by fpips_error(), and fpips_main().
|
static |
returns whether name ends with ref
Definition at line 118 of file fpips.c.
References ref.
Referenced by fpips_main().
Definition at line 160 of file pips.c.
References any_exception_error, build_resource_names, CATCH, cc_version, close_workspace(), create_workspace(), db_create_workspace(), debug_off, debug_on, entity_local_name(), exit, FOREACH, gen_array_nitems(), initialize_newgen(), initialize_sc(), initialize_signal_catcher(), module, open_module(), open_module_if_unique(), open_workspace(), performed_rule, pips_checks(), pips_parse_arguments(), pop_pips_context(), push_pips_context(), safe_apply(), safe_make(), select_rule(), selected_rules, set_exception_callbacks(), set_pips_meta_informations(), soft_date, soft_revisions, source_files, STRING, TRY, UNCATCH, user_log(), and wspace.