Index: extobj.h =================================================================== --- extobj.h (revision 10859) +++ extobj.h (revision 10860) @@ -26,7 +26,7 @@ #include -typedef struct csch_extobj_impl_s { +struct csch_extobj_impl_s { const char *name; /* also the hash key */ void (*attr_edit_pre)(csch_cgrp_t *grp, const char *key); @@ -33,7 +33,7 @@ void (*attr_edit_post)(csch_cgrp_t *grp, const char *key); void (*update)(csch_cgrp_t *grp); void (*gui_edit)(csch_cgrp_t *grp); -} csch_extobj_impl_t; +}; void csch_extobj_impl_reg(const csch_extobj_impl_t *impl); void csch_extobj_impl_unreg(const csch_extobj_impl_t *impl); @@ -43,3 +43,5 @@ /* internal, do not call */ void csch_extobj_init(void); void csch_extobj_uninit(void); +const csch_extobj_impl_t *csch_extobj_lookup(const char *name); +