#ifndef CAM_HPP #define CAM_HPP enum Severity { Attention = 0, Info = 1, Trace = 2, }; typedef void (*HsLogger)(enum Severity, const char *); typedef void (*HsCallback)(int fd); #ifdef __cplusplus extern "C" { #endif void register_logger(HsLogger hs_logger); void register_callback(HsCallback hs_callback); void initialize_ffi(); void shutdown_ffi(); void request_capture(); #ifdef __cplusplus } #endif #endif