aboutsummaryrefslogtreecommitdiff
path: root/xdr_internal.h
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2016-06-30 21:52:59 -0400
committerPaul Selkirk <paul@psgd.org>2016-06-30 21:52:59 -0400
commit3ba7ca4155c7be439108b174a3b49a508923d378 (patch)
treec066815bbb29ad52fd309c6b5103cbd1bb9716c3 /xdr_internal.h
parent709a71c0030225ba08cddf5227a1c67c2dbb4176 (diff)
RPC wire format now includes client handle in all requests, and opcode and
client handle in all responses. This simplies the daemon a little, and means that the directly-connected serial client uses the same wire format as the daemon. The expense is some redundant code in rpc_client and rpc_server to process (and throw away) this extra stuff.
Diffstat (limited to 'xdr_internal.h')
-rw-r--r--xdr_internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/xdr_internal.h b/xdr_internal.h
index 921b991..9d02fd3 100644
--- a/xdr_internal.h
+++ b/xdr_internal.h
@@ -47,6 +47,8 @@ hal_error_t hal_xdr_decode_int(const uint8_t ** const inbuf,
const uint8_t * const limit,
uint32_t * const value);
+hal_error_t hal_xdr_undecode_int(const uint8_t ** const inbuf);
+
hal_error_t hal_xdr_encode_buffer(uint8_t ** const outbuf,
const uint8_t * const limit,
const uint8_t * const value,