diff options
author | Paul Selkirk <paul@psgd.org> | 2016-04-24 13:09:37 -0400 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2016-04-24 13:09:37 -0400 |
commit | c5917a2bc01247ed363acacbc6e256993b01622a (patch) | |
tree | ba96b7261ce522128d56572cfce402741f79e379 /hal.h | |
parent | cd56f57a6b9f66040ced99337c0e41d7f3a9fe90 (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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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_ */ |