vlm | 7e66aa8 | 2004-09-02 12:11:47 +0000 | [diff] [blame] | 1 | /*- |
| 2 | * Copyright (c) 2004 Lev Walkin <vlm@lionet.info>. All rights reserved. |
| 3 | * Redistribution and modifications are permitted subject to BSD license. |
| 4 | */ |
| 5 | #include <ANY.h> |
| 6 | #include <assert.h> |
| 7 | #include <errno.h> |
| 8 | |
| 9 | asn1_TYPE_descriptor_t asn1_DEF_ANY = { |
| 10 | "ANY", |
| 11 | asn_generic_no_constraint, |
| 12 | OCTET_STRING_decode_ber, |
| 13 | OCTET_STRING_encode_der, |
| 14 | OCTET_STRING_print, |
| 15 | OCTET_STRING_free, |
| 16 | 0, /* Use generic outmost tag fetcher */ |
| 17 | 0, |
| 18 | 0, |
| 19 | 0, /* No tags may be overridden */ |
| 20 | -1, /* Both ways are fine (primitive and constructed) */ |
| 21 | 0, 0, /* No members */ |
| 22 | (void *)1 /* Special indicator that this is an ANY type */ |
| 23 | }; |