aboutsummaryrefslogtreecommitdiff
path: root/hal.h
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2016-04-24 13:09:37 -0400
committerPaul Selkirk <paul@psgd.org>2016-04-24 13:09:37 -0400
commitc5917a2bc01247ed363acacbc6e256993b01622a (patch)
treeba96b7261ce522128d56572cfce402741f79e379 /hal.h
parentcd56f57a6b9f66040ced99337c0e41d7f3a9fe90 (diff)
Break the RPC dispatch out of hal_rpc_server_main, for the benefit of the threaded server.
Diffstat (limited to 'hal.h')
-rw-r--r--hal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hal.h b/hal.h
index 55e4289..cd3b9c0 100644
--- a/hal.h
+++ b/hal.h
@@ -720,6 +720,7 @@ extern hal_error_t hal_rpc_client_init(void);
extern hal_error_t hal_rpc_client_close(void);
extern hal_error_t hal_rpc_server_init(void);
extern hal_error_t hal_rpc_server_close(void);
+extern void hal_rpc_server_dispatch(const uint8_t * const ibuf, const size_t ilen, uint8_t * const obuf, size_t * const olen);
extern void hal_rpc_server_main(void);
#endif /* _HAL_H_ */