diff options
author | Paul Selkirk <paul@psgd.org> | 2016-07-07 20:02:37 -0400 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2016-07-07 20:02:37 -0400 |
commit | ec8b12c7e7c0544c9770b626ee263e58ada9a15d (patch) | |
tree | 72e2099890b421815104a68272b81a527981361a /hal.h | |
parent | 2104d642bb86f27747107cb8e777739dc215b1f4 (diff) |
Check and propagate XDR error codes, to detect bad request packets.
Diffstat (limited to 'hal.h')
-rw-r--r-- | hal.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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_ */ |