From ec8b12c7e7c0544c9770b626ee263e58ada9a15d Mon Sep 17 00:00:00 2001 From: Paul Selkirk Date: Thu, 7 Jul 2016 20:02:37 -0400 Subject: Check and propagate XDR error codes, to detect bad request packets. --- hal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hal.h') 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_ */ -- cgit v1.2.3