wangzhengquan
2021-02-05 607ac3ae8bfc017e10a7907e69dcbc3ab2a0fb63
src/socket/shm_socket.h
@@ -14,13 +14,15 @@
   
};
 
#define BUS_ACTION_STOP 1
typedef struct shm_packet_t {
   int key;
   size_t size;
   void * buf;
   char uuid[64];
   int action;
} shm_packet_t;
@@ -50,6 +52,8 @@
int shm_close_socket(shm_socket_t * socket) ;
int shm_socket_stop(shm_socket_t *sockt);
int shm_socket_bind(shm_socket_t * socket, int key) ;