aboutsummaryrefslogtreecommitdiff
path: root/xdr_internal.h
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2016-05-14 03:01:07 -0400
committerRob Austein <sra@hactrn.net>2016-05-14 03:01:07 -0400
commit1a00bef55be86f466c6aa8efd866f1ff96784457 (patch)
treef8987ae6c6daa6f5c59cfcd9454f2a4ea7dcc5aa /xdr_internal.h
parent598e75956634f33ede687da796d5b6c583048a5e (diff)
Entirely too much fun with C const-ification.
Diffstat (limited to 'xdr_internal.h')
-rw-r--r--xdr_internal.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/xdr_internal.h b/xdr_internal.h
index 00793b0..921b991 100644
--- a/xdr_internal.h
+++ b/xdr_internal.h
@@ -43,7 +43,7 @@ hal_error_t hal_xdr_encode_int(uint8_t ** const outbuf,
const uint8_t * const limit,
const uint32_t value);
-hal_error_t hal_xdr_decode_int(uint8_t ** const inbuf,
+hal_error_t hal_xdr_decode_int(const uint8_t ** const inbuf,
const uint8_t * const limit,
uint32_t * const value);
@@ -52,12 +52,12 @@ hal_error_t hal_xdr_encode_buffer(uint8_t ** const outbuf,
const uint8_t * const value,
const uint32_t len);
-hal_error_t hal_xdr_decode_buffer_in_place(uint8_t ** const inbuf,
+hal_error_t hal_xdr_decode_buffer_in_place(const uint8_t ** const inbuf,
const uint8_t * const limit,
- uint8_t ** const vptr,
+ const uint8_t ** const vptr,
uint32_t * const len);
-hal_error_t hal_xdr_decode_buffer(uint8_t ** const inbuf,
+hal_error_t hal_xdr_decode_buffer(const uint8_t ** const inbuf,
const uint8_t * const limit,
uint8_t * const value,
uint32_t * const len);