diff --git a/LibSnugLog/public_include/sl/register.h b/LibSnugLog/public_include/sl/register.h index 267086f..a6ef0bf 100644 --- a/LibSnugLog/public_include/sl/register.h +++ b/LibSnugLog/public_include/sl/register.h @@ -24,10 +24,10 @@ namespace sl { using output_strategy = sl_output_strategy; } #else -typedef struct sl_buffer_strategy buffer_strategy; -typedef struct sl_sink_strategy sink_strategy; -typedef struct sl_overflow_strategy overflow_strategy; -typedef struct sl_output_strategy output_strategy; +typedef struct sl_buffer_strategy sl_buffer_strategy; +typedef struct sl_sink_strategy sl_sink_strategy; +typedef struct sl_overflow_strategy sl_overflow_strategy; +typedef struct sl_output_strategy sl_output_strategy; #endif #ifdef __cplusplus diff --git a/LibSnugLog/public_include/sl/strategies.h b/LibSnugLog/public_include/sl/strategies.h index 2f50e15..e2963c3 100644 --- a/LibSnugLog/public_include/sl/strategies.h +++ b/LibSnugLog/public_include/sl/strategies.h @@ -34,4 +34,11 @@ enum SL_ROLL_LOGS { SL_BY_TIME = 1, /**< Will create a new log every n-hours */ SL_BY_SIZE = 2, /**< Will create a new log every n-KB */ SL_NEVER = 0 /**< Will never split the log. Use when doing external logging. */ -}; \ No newline at end of file +}; + +#ifndef __cplusplus +typedef enum SL_ON_SINK_FULL SL_ON_SINK_FULL; +typedef enum SL_SINK_IO_TYPE SL_SINK_IO_TYPE; +typedef enum SL_BUFFER_TYPE SL_BUFFER_TYPE; +typedef enum SL_ROLL_LOGS SL_ROLL_LOGS; +#endif \ No newline at end of file