R_API int r_meta_space_count_for(RAnal *a, int ctx) { myMetaUser mu = {0}; mu.ctx = ctx; int type = a->meta_spaces.space_idx; r_meta_list_cb (a, type, 0, meta_count_cb, &mu); return mu.count; }
R_API void r_meta_space_unset_for(RAnal *a, int type) { r_meta_list_cb (a, type, 0, meta_unset_cb, NULL); }
R_API int r_meta_list(RAnal *a, int type, int rad) { return r_meta_list_cb (a, type, rad, NULL, NULL); }
R_API RList *r_meta_enumerate(RAnal *a, int type) { RList *list = r_list_new (); r_meta_list_cb (a, type, 0, meta_enumerate_cb, list); return list; }
R_API int r_meta_list_at(RAnal *a, int type, int rad, ut64 addr) { return r_meta_list_cb (a, type, rad, NULL, NULL, addr); }