dinit.h 419 B

123456789101112131415161718192021
  1. #ifndef DINIT_H_INCLUDED
  2. #define DINIT_H_INCLUDED 1
  3. #include "dasynq.h"
  4. /*
  5. * General Dinit definitions.
  6. */
  7. using eventloop_t = dasynq::event_loop<dasynq::null_mutex>;
  8. using clock_type = dasynq::clock_type;
  9. using rearm = dasynq::rearm;
  10. using time_val = dasynq::time_val;
  11. void open_control_socket(bool report_ro_failure = true) noexcept;
  12. void setup_external_log() noexcept;
  13. extern eventloop_t event_loop;
  14. #endif