+struct _be_abi_callbacks_t {
+ void *(*init)(const be_abi_call_t *call, const arch_isa_t *isa, ir_graph *irg);
+
+ void (*done)(void *self);
+
+ ir_type *(*get_between_type)(void *self);
+
+ void (*regs_saved_by_me)(void *self, pset *regs);
+
+ const arch_register_t *(*prologue)(void *self, pmap *reg_map);
+
+ void (*epilogue)(void *self, ir_node *bl, ir_node **mem, pmap *reg_map);
+};
+
+void be_abi_call_set_flags(be_abi_call_t *call, be_abi_call_flags_t flags, const be_abi_callbacks_t *cb);