20 lines
440 B
C
20 lines
440 B
C
#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 0x0000000000000000ULL
|
|
#define Sagittarius_Msg_Unknown 0xFFFFFFFFFFFFFFFFULL
|
|
#define Sagittarius_Msg_OOB 0x1000000000000000ULL
|
|
#endif |