aboutsummaryrefslogtreecommitdiff
path: root/hal.h
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2016-07-07 20:02:37 -0400
committerPaul Selkirk <paul@psgd.org>2016-07-07 20:02:37 -0400
commitec8b12c7e7c0544c9770b626ee263e58ada9a15d (patch)
tree72e2099890b421815104a68272b81a527981361a /hal.h
parent2104d642bb86f27747107cb8e777739dc215b1f4 (diff)
Check and propagate XDR error codes, to detect bad request packets.
Diffstat (limited to 'hal.h')
-rw-r--r--hal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hal.h b/hal.h
index 04dab48..8d4786a 100644
--- a/hal.h
+++ b/hal.h
@@ -759,7 +759,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 hal_error_t 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_ */