9 * Register the Firm backend command line options.
11 void be_opt_register(void);
14 * Parse one backend argument.
16 int be_parse_arg(const char *arg);
19 * Initialize the Firm backend. Must be run BEFORE init_firm()!
24 * Main interface to the frontend.
26 void be_main(FILE *file_handle);
28 /** The type of the debug info retriever function. */
29 typedef const char *(*retrieve_dbg_func)(const dbg_info *dbg, unsigned *line);
32 * Sets a debug info retriever.
34 * @param func the debug retriever function.
36 void be_set_debug_retrieve(retrieve_dbg_func func);
39 * Retrieve the debug info.
41 const char *be_retrieve_dbg_info(const dbg_info *dbg, unsigned *line);
43 typedef struct _be_main_env_t be_main_env_t;
44 typedef struct _be_irg_t be_irg_t;
45 typedef struct _be_options_t be_options_t;
47 #endif /* _BE_MAIN_H */