Files
TripleCross/src/common/map_common.h

26 lines
437 B
C
Raw Normal View History

#ifndef __MAP_COMMON_H
#define __MAP_COMMON_H
#include "struct_common.h"
// Ring buffer for kernel->user communication
#define RB_EVENT_MAX_MESSAGE_SIZE 512
typedef enum {
INFO,
DEBUG,
EXIT,
ERROR,
COMMAND,
PSH_UPDATE
} event_type_t;
struct rb_event {
int pid;
char message[RB_EVENT_MAX_MESSAGE_SIZE];
int code;
struct backdoor_phantom_shell_data bps_data;
event_type_t event_type;
};
#endif