fujuntang
2021-11-10 c479ef57baaaa28964fc3ec8d80ff99dffa7d49f
src/msg_trigger/msg_mgr.h
@@ -1,9 +1,7 @@
#ifndef __MSG_MGR_DEF_
#define __MSG_MGR_DEF_
#ifdef __cplusplus
extern "C" {
#endif
#include "shm_allocator.h"
#define SEM_TYPE_ID   0
#define RSV_TYPE_ID   1
@@ -37,16 +35,15 @@
} Msg_info;
#ifdef __cplusplus
}
#endif
int msg_init(void);
void msg_distrib(int msg_id, Msg_info *message);
int get_msg_info(int msg_id, Msg_info *message);
void *sem_msg_handler(void *skptr);
void msg_info_set(int index, Msg_info msg_obj);
typedef std::set<int, std::less<int>, SHM_STL_Allocator<int> > recvbuf_val;
typedef std::map<int, recvbuf_val *, std::less<int>, SHM_STL_Allocator<std::pair<int, recvbuf_val *> > > recvbuf_data;
#endif  //end of file