aboutsummaryrefslogtreecommitdiff
path: root/hsm-cam/FFI/Cam.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'hsm-cam/FFI/Cam.hpp')
-rw-r--r--hsm-cam/FFI/Cam.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/hsm-cam/FFI/Cam.hpp b/hsm-cam/FFI/Cam.hpp
index e59fa1d..c2cd4ed 100644
--- a/hsm-cam/FFI/Cam.hpp
+++ b/hsm-cam/FFI/Cam.hpp
@@ -1,7 +1,8 @@
#ifndef CAM_HPP
#define CAM_HPP
-enum Severity {
+enum Severity
+{
Attention = 0,
Info = 1,
Trace = 2,
@@ -11,7 +12,8 @@ typedef void (*HsLogger)(enum Severity, const char *);
typedef void (*HsCallback)(int fd);
#ifdef __cplusplus
-extern "C" {
+extern "C"
+{
#endif
void register_logger(HsLogger hs_logger);
void register_callback(HsCallback hs_callback);