From: Matthias Kruk Date: Mon, 14 Jun 2021 23:31:38 +0000 (+0900) Subject: include/ipc: Rename ipc_endpoint_new() to ipc_endpoint_open() X-Git-Url: https://git.corax.cc/?a=commitdiff_plain;h=c7137a7a53a57e549732ffac9fb759aed13f6bbf;p=toolbox include/ipc: Rename ipc_endpoint_new() to ipc_endpoint_open() The functions for creating new endpoints and freeing endpoints are called ipc_endpoint_new() and ipc_endpoint_close(), which is not intuitive. This commit renames ipc_endpoint_new() to ipc_endpoint_open(), since open/close is the terminology that is traditionally used in communication APIs. --- diff --git a/include/ipc.sh b/include/ipc.sh index 096015b..a48e8c1 100644 --- a/include/ipc.sh +++ b/include/ipc.sh @@ -326,7 +326,7 @@ ipc_msg_get_timestamp() { return 0 } -ipc_endpoint_new() { +ipc_endpoint_open() { local name="$1" local endpoint