From cc6bec3330c29cc29f54d3e3d919d510f0197641 Mon Sep 17 00:00:00 2001 From: wzq <wzq@localhost.localdomain> Date: 星期六, 22 八月 2020 19:35:42 +0800 Subject: [PATCH] update --- src/socket/include/shm_socket.h | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/socket/include/shm_socket.h b/src/socket/include/shm_socket.h index dd93f75..fd67d9c 100644 --- a/src/socket/include/shm_socket.h +++ b/src/socket/include/shm_socket.h @@ -30,8 +30,8 @@ }; enum shm_socket_error_type_t { - SHM_SOCKET_CONN_FAILED = 1, - SHM_SOCKET_TIMEOUT = 2 + SHM_SOCKET_ECONNFAILED = 1, + SHM_SOCKET_ETIMEOUT = 2 }; enum shm_connection_status_t { @@ -68,6 +68,7 @@ +size_t shm_socket_remove_keys(int keys[], size_t length); shm_socket_t *shm_open_socket(shm_socket_type_t socket_type); -- Gitblit v1.8.0