2022-11-16 20:36:24 -05:00
|
|
|
#pragma once
|
|
|
|
|
2024-02-20 21:41:37 -05:00
|
|
|
/**
|
|
|
|
** \defgroup ssb_rpc SSB RPC
|
|
|
|
** Implementations of all the necessary MUXRPC handlers (createHistoryStream,
|
|
|
|
** ebt.replicate, blobs.get, ...).
|
|
|
|
** @{
|
|
|
|
*/
|
|
|
|
|
2024-03-03 18:12:44 -05:00
|
|
|
/** An SSB instance. */
|
2022-11-16 20:36:24 -05:00
|
|
|
typedef struct _tf_ssb_t tf_ssb_t;
|
|
|
|
|
2024-03-03 18:12:44 -05:00
|
|
|
/**
|
|
|
|
** Register standard muxrpc callbacks.
|
|
|
|
** @param ssb The SSB instance.
|
|
|
|
*/
|
2022-11-16 20:36:24 -05:00
|
|
|
void tf_ssb_rpc_register(tf_ssb_t* ssb);
|
2024-03-03 18:12:44 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
** Start periodic SSB maintenance tasks.
|
|
|
|
** @param ssb The SSB instance.
|
|
|
|
*/
|
2023-11-08 18:03:21 -05:00
|
|
|
void tf_ssb_rpc_start_periodic(tf_ssb_t* ssb);
|
2024-02-20 21:41:37 -05:00
|
|
|
|
|
|
|
/** @} */
|