Adding more definitions.
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#ifndef _SAGITTARIUS_PANIC_H_
|
||||
#define _SAGITTARIUS_PANIC_H_
|
||||
#include <stdint.h>
|
||||
typedef enum SagMsgLevel
|
||||
{
|
||||
info,
|
||||
warn,
|
||||
error,
|
||||
fatal
|
||||
} SagMsgLevel;
|
||||
typedef struct NoticiableMsg
|
||||
{
|
||||
SagMsgLevel level;
|
||||
uint64_t NoticiableId;
|
||||
char* msg;
|
||||
} NoticiableMsg;
|
||||
#define Sagittarius_Msg_Generic 0x0000_0000_0000_0000
|
||||
#define Sagittarius_Msg_Unknown 0xFFFFFFFFFFFFFFFF
|
||||
#define Sagittarius_Msg_OOB 0x1000_0000_0000_0000
|
||||
#endif
|
||||
Reference in New Issue
Block a user