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