blob: 205712096f00ce41dce4673aa43b3d5cfc9e25ec [file] [log] [blame]
Lev Walkina737f3b2004-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,
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};