6 * Register the Firm backend command line options.
8 void be_opt_register(void);
11 * Parse one backend argument.
13 int be_parse_arg(const char *arg);
16 * Initialize the Firm backend. Must be run BEFORE init_firm()!
21 * Main interface to the frontend.
23 void be_main(FILE *file_handle);
25 /** The type of the debug info retriever function. */
26 typedef const char *(*retrieve_dbg_func)(const dbg_info *dbg, unsigned *line);
29 * Sets a debug info retriever.
31 * @param func the debug retriever function.
33 void be_set_debug_retrieve(retrieve_dbg_func func);
36 * Retrieve the debug info.
38 const char *be_retrieve_dbg_info(const dbg_info *dbg, unsigned *line);
40 typedef struct _be_main_env_t be_main_env_t;
41 typedef struct _be_irg_t be_irg_t;
42 typedef struct _be_options_t be_options_t;
44 #endif /* _BE_MAIN_H */