#ifndef DMPDATASHM_H
#define DMPDATASHM_H


#include <stdbool.h>
#include <stdlib.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/shm.h>


#define DATA_PATH "/"
#define DATA_PORT 5112

#pragma pack(1)

typedef struct{
    unsigned char Enabled;
    char DeviceCode[50];
    unsigned int DeviceType;
}DevInfo;

typedef struct{
    DevInfo devinfo[1024];
} DMPDevList;

#pragma pack()

#endif // DMPDATASHM_H
