]> git.corax.cc Git - toolbox/commit
include/ipc: Make encode and decode methods part of the public API
authorMatthias Kruk <m@m10k.eu>
Mon, 9 Jan 2023 08:20:13 +0000 (17:20 +0900)
committerMatthias Kruk <m@m10k.eu>
Mon, 9 Jan 2023 08:20:13 +0000 (17:20 +0900)
commitb381443dbb5daca5a65ffc14d669b0cf72080545
treee1372d5800e89350ceea91242bf369798c75121e
parent5643d1c4ff222632947462458ea7e04df151c4f3
include/ipc: Make encode and decode methods part of the public API

The ipc and uipc modules use identical methods to encode and decode
data. Instead, one module should allow the other to use its methods.

This commit modifies the IPC module so that it declares the two
methods as part of its interface that can be used by other modules.
include/ipc.sh
test/ipc_spec.sh