diff options
Diffstat (limited to 'src/include/rt-utils.h')
-rw-r--r-- | src/include/rt-utils.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/rt-utils.h b/src/include/rt-utils.h index 4a7d01f..37f46c8 100644 --- a/src/include/rt-utils.h +++ b/src/include/rt-utils.h @@ -1,6 +1,8 @@ #ifndef __RT_UTILS_H #define __RT_UTILS_H +#include <stdint.h> + #define _STR(x) #x #define STR(x) _STR(x) #define MAX_PATH 256 @@ -17,4 +19,7 @@ int event_disable(char *event); int event_enable_all(void); int event_disable_all(void); +const char *policy_to_string(int policy); +uint32_t string_to_policy(const char *str); + #endif /* __RT_UTILS.H */ |