64 #define DLT_SHM_KEY 11771 69 #define DLT_SHM_SIZE 100000 74 #define DLT_SHM_SEM 22771 76 #define DLT_SHM_HEAD "SHM" 92 #define DLT_SHM_SEM_GET(id) dlt_shm_pv(id,-1) 93 #define DLT_SHM_SEM_FREE(id) dlt_shm_pv(id,1) 125 extern int dlt_shm_push(
DltShm *buf,
const unsigned char *data1,
unsigned int size1,
const unsigned char *data2,
unsigned int size2,
const unsigned char *data3,
unsigned int size3);
DltReturnValue dlt_shm_init_client(DltShm *buf, int key)
int dlt_shm_pull(DltShm *buf, unsigned char *data, int size)
int dlt_shm_get_total_size(DltShm *buf)
int dlt_shm_get_message_count(DltShm *buf)
static char data[kDataSize]
int dlt_shm_free_server(DltShm *buf)
DltReturnValue dlt_shm_free_client(DltShm *buf)
DltReturnValue dlt_shm_init_server(DltShm *buf, int key, int size)
int dlt_shm_remove(DltShm *buf)
int dlt_shm_push(DltShm *buf, const unsigned char *data1, unsigned int size1, const unsigned char *data2, unsigned int size2, const unsigned char *data3, unsigned int size3)
int dlt_shm_recover(DltShm *buf)
int dlt_shm_reset(DltShm *buf)
void dlt_shm_info(DltShm *buf)
void dlt_shm_status(DltShm *buf)
int dlt_shm_copy(DltShm *buf, unsigned char *data, int size)
int dlt_shm_get_used_size(DltShm *buf)