blob: 92b209d94b688613bb7570a74fcac76ea43225db [file] [log] [blame]
vlm7e66aa82004-09-02 12:11:47 +00001/*-
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
9asn1_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,
vlm7e66aa82004-09-02 12:11:47 +000018 0, /* No tags may be overridden */
19 -1, /* Both ways are fine (primitive and constructed) */
20 0, 0, /* No members */
21 (void *)1 /* Special indicator that this is an ANY type */
22};