From d42019644bdad2b0810d054e72378026a02dc295 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 10 Jun 2009 11:44:47 +1000 Subject: added asn1 functions for handling booleans in a simple context --- lib/util/asn1.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/util/asn1.h') diff --git a/lib/util/asn1.h b/lib/util/asn1.h index 8ecb85cb81..0f41ae33e5 100644 --- a/lib/util/asn1.h +++ b/lib/util/asn1.h @@ -70,6 +70,8 @@ bool asn1_write_ContextSimple(struct asn1_data *data, uint8_t num, DATA_BLOB *bl bool asn1_write_BOOLEAN(struct asn1_data *data, bool v); bool asn1_read_BOOLEAN(struct asn1_data *data, bool *v); bool asn1_check_BOOLEAN(struct asn1_data *data, bool v); +bool asn1_write_BOOLEAN_context(struct asn1_data *data, bool v, int context); +bool asn1_read_BOOLEAN_context(struct asn1_data *data, bool *v, int context); bool asn1_load(struct asn1_data *data, DATA_BLOB blob); bool asn1_peek(struct asn1_data *data, void *p, int len); bool asn1_read(struct asn1_data *data, void *p, int len); -- cgit