38 #define re_assert(cond) arb_assert(cond)
49 bool error_if_field_missing;
50 bool error_if_ref_unknown;
52 RefSelector(
const char *field_,
const char *aci_,
bool error_if_field_missing_,
bool error_if_ref_unknown_)
55 error_if_field_missing(error_if_field_missing_),
56 error_if_ref_unknown(error_if_ref_unknown_)
100 #error refentries.h included twice
101 #endif // REFENTRIES_H
ARB_ERROR with_all_referred_items(GBDATA *gb_item, const RefSelector &refsel, referred_item_handler cb)
ItemSelector & get_referring_item() const
bool ignore_unknown_refs() const
char * ARB_strdup(const char *str)
ARB_ERROR(* referred_item_handler)(GBDATA *gb_main, const DBItemSet &referred)
RefSelector(const char *field_, const char *aci_, bool error_if_field_missing_, bool error_if_ref_unknown_)
std::set< GBDATA * > DBItemSet
AW_window * create_refentries_window(AW_root *aw_root, ReferringEntriesHandler *reh, const char *window_id, const char *title, const char *help, client_area_builder build_client_area, const char *action, referred_item_handler action_cb)
ReferringEntriesHandler(GBDATA *gb_main_, ItemSelector &itemtype_)
void(* client_area_builder)(AW_window *aw_reh)
const char * get_field() const
GBDATA * get_gbmain() const
void create_refentries_awars(AW_root *aw_root, AW_default aw_def)
const char * get_refs(ItemSelector &itemtype, GBDATA *gb_item) const
char * filter_refs(const char *refs, GBDATA *gb_item) const