1 #ifndef FORB_IDL_C_BACKEND_H
2 #define FORB_IDL_C_BACKEND_H
7 #define OIDL_C_WARNING "/*\n * This file was generated by forb-idl - DO NOT EDIT!\n */\n\n"
14 gboolean do_impl_hack;
15 gboolean do_skel_defs;
24 forb_cbe_write_ser_var(FILE *of, IDL_tree ts, IDL_tree name, bool use_name,
25 char *var_prefix, enum forb_ser serialization);
28 gboolean forb_idl_output_c (IDL_tree tree,
29 OIDL_Run_Info *rinfo);
30 void forb_idl_output_c_headers (IDL_tree tree,
33 void forb_idl_output_c_stubs (IDL_tree tree,
36 void forb_idl_output_c_skeletons (IDL_tree tree,
39 void forb_idl_output_c_common (IDL_tree tree,
42 void forb_idl_output_c_skelimpl (IDL_tree tree,
45 void forb_idl_output_c_imodule (IDL_tree tree,
48 void forb_idl_output_c_deps (IDL_tree tree,
52 void forb_output_typecode (OIDL_C_Info *ci, IDL_tree ts);
54 char *forb_idl_c_filename_for_pass (const char *input_filename, int pass);
57 char *forb_cbe_get_typespec_str (IDL_tree tree);
58 void forb_cbe_write_typespec (FILE *of,
60 void forb_cbe_write_param_typespec (FILE *of,
62 void forb_cbe_op_write_proto (FILE *of,
64 const char *nom_prefix,
66 IDL_tree forb_cbe_get_typespec (IDL_tree tree);
67 void forb_cbe_write_const (FILE *of,
69 gboolean forb_cbe_type_is_fixed_length (IDL_tree ts);
70 gboolean forb_cbe_type_is_builtin (IDL_tree tree);
71 void forb_cbe_id_define_hack (FILE *fh,
72 const char *def_prefix,
74 const char *def_value);
75 void forb_cbe_id_cond_hack (FILE *fh,
76 const char *def_prefix,
78 const char *def_value);
79 char *forb_cbe_get_typecode_name (IDL_tree tree);
80 void forb_cbe_flatten_args (IDL_tree tree,
83 void forb_cbe_unflatten_args (IDL_tree tree,