diff options
author | Lev Walkin <vlm@lionet.info> | 2006-03-21 03:40:38 +0000 |
---|---|---|
committer | Lev Walkin <vlm@lionet.info> | 2006-03-21 03:40:38 +0000 |
commit | a00d6b371486efc2fbe6e812882d250f5a0bb75c (patch) | |
tree | 24c47f98731c42ea1df33a464c0fbca7ba760489 /libasn1parser/asn1p_value.h | |
parent | 25b8f280603bc4ed70609c3aacc1ef8820b027b3 (diff) |
refactored parameterization support
Diffstat (limited to 'libasn1parser/asn1p_value.h')
-rw-r--r-- | libasn1parser/asn1p_value.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libasn1parser/asn1p_value.h b/libasn1parser/asn1p_value.h index a0103413..5705f745 100644 --- a/libasn1parser/asn1p_value.h +++ b/libasn1parser/asn1p_value.h @@ -52,17 +52,20 @@ typedef struct asn1p_value_s { } asn1p_value_t; /* - * Constructors and destructor for value. + * Destructor and constructors for value. * If ref, bits or buffer are omitted, the corresponding function returns * (asn1p_value_t *)0 with errno = EINVAL. * Allocated value (where applicable) is guaranteed to be NUL-terminated. */ +void asn1p_value_free(asn1p_value_t *); asn1p_value_t *asn1p_value_fromref(asn1p_ref_t *ref, int do_copy); asn1p_value_t *asn1p_value_frombits(uint8_t *bits, int size_in_bits, int dc); asn1p_value_t *asn1p_value_frombuf(char *buffer, int size, int do_copy); asn1p_value_t *asn1p_value_fromdouble(double); asn1p_value_t *asn1p_value_fromint(asn1c_integer_t); asn1p_value_t *asn1p_value_clone(asn1p_value_t *); -void asn1p_value_free(asn1p_value_t *); +asn1p_value_t *asn1p_value_clone_with_resolver(asn1p_value_t *, + asn1p_value_t *(*resolver)(asn1p_value_t *, void *rarg), + void *rarg); #endif /* ASN1_PARSER_VALUE_H */ |