]> git.corax.cc Git - toolbox/commit
include/ipc: Add functions to ipc interface so it can be extended
authorMatthias Kruk <m@m10k.eu>
Mon, 9 Jan 2023 09:17:10 +0000 (18:17 +0900)
committerMatthias Kruk <m@m10k.eu>
Mon, 9 Jan 2023 09:17:10 +0000 (18:17 +0900)
commitf1c4b3dd4a69ebc73cd8eea0a99b74ce3d6e7bb0
treed7a80b13912f2ca764ca4c2c7fed688a29264e90
parent02ad43688a9306bc083a9e4f357e7ed06764b9db
include/ipc: Add functions to ipc interface so it can be extended

The ipc module provides an interface, but it cannot meaningfully
be extended because the interface is missing functions that need to
be overridden by an extending module.

This commit makes several message-related functions public and adds
them to the interface that is provided by the ipc module. This
further adds the `ipc_get_root()' function, which replaces the
`__ipc_root' variable, allowing modules that extend the interface to
use a different root directory.
include/ipc.sh
test/ipc_spec.sh