mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 00:14:32 -08:00
Going back to letting mailboxes use variable-length data. Note that this requires extra copies, so shared memory channels should be used for anything in the hot path. But this allows better RPC over mailboxes and other flexibility. Other changes: - added a j6::proto::sl::client class to act as a service locator client, instead of duplicating that code in every program. - moved protocol ids into j6/tables/protocols.inc so that C++ clients can easily have their own API
8 lines
187 B
C
8 lines
187 B
C
#pragma once
|
|
/// \file service_locator.h
|
|
/// Definitions for srv.init's implementation of the service locator protocol
|
|
|
|
#include <j6/types.h>
|
|
|
|
void service_locator_start(j6_handle_t mb);
|