]> git.corax.cc Git - toolbox/commitdiff
include/ipc: Rename ipc_endpoint_new() to ipc_endpoint_open()
authorMatthias Kruk <m@m10k.eu>
Mon, 14 Jun 2021 23:31:38 +0000 (08:31 +0900)
committerMatthias Kruk <m@m10k.eu>
Mon, 14 Jun 2021 23:31:38 +0000 (08:31 +0900)
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.

include/ipc.sh

index 096015b1859b4c6f7b9e8840efac79d508d67e5a..a48e8c129d55ba0443f29e92be74abb12e75104d 100644 (file)
@@ -326,7 +326,7 @@ ipc_msg_get_timestamp() {
        return 0
 }
 
-ipc_endpoint_new() {
+ipc_endpoint_open() {
        local name="$1"
 
        local endpoint