Adding more definitions.

This commit is contained in:
Creeper Lv
2026-04-11 14:55:25 +08:00
parent d34c74f617
commit b35596a19a
5 changed files with 90 additions and 28 deletions
+20
View File
@@ -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