X-Git-Url: https://rtime.felk.cvut.cz/gitweb/ulut.git/blobdiff_plain/a0220736713347704cc7c308905e9378064cc975..950f439dd9a3b06cd79df68c486b4b1a93758a67:/ulut/ul_logreg.h diff --git a/ulut/ul_logreg.h b/ulut/ul_logreg.h index 52d3149..0aaa260 100644 --- a/ulut/ul_logreg.h +++ b/ulut/ul_logreg.h @@ -69,6 +69,9 @@ int function_name(void) \ static void function_name##_on_init(void) UL_ATTR_CONSTRUCTOR; \ static void function_name##_on_init(void) { function_name(); } +typedef int (ul_logreg_domain_cb_t)(ul_log_domain_t *domain, void *context); +void ul_logreg_for_each_domain(ul_logreg_domain_cb_t *callback, void *context); + #ifdef __cplusplus } /* extern "C"*/ #endif