|
libisdn
|
#include <stdio.h>#include <strings.h>#include "asn1.h"#include "asn1_common.h"#include "asn1_types.h"#include "asn1_codec_ber.h"Go to the source code of this file.
Functions | |
| const char * | asn1_get_codec_name (const struct asn1_tree *tree) |
| asn1_codec_t | asn1_get_codec_id (const struct asn1_tree *tree) |
| int | asn1_set_codec_by_name (struct asn1_tree *tree, const char *name) |
| int | asn1_set_codec_by_id (struct asn1_tree *tree, const asn1_codec_t id) |
| asn1_codec_t asn1_get_codec_id | ( | const struct asn1_tree * | tree | ) |
Definition at line 40 of file asn1_codec.c.
References ASN1_CODEC_NONE, asn1_tree::codec, and asn1_codec::id.
| const char* asn1_get_codec_name | ( | const struct asn1_tree * | tree | ) |
Definition at line 32 of file asn1_codec.c.
References asn1_tree::codec, and asn1_codec::name.
| int asn1_set_codec_by_id | ( | struct asn1_tree * | tree, |
| const asn1_codec_t | id | ||
| ) |
Definition at line 62 of file asn1_codec.c.
References ARRAY_SIZE, ASN1_CODEC_MAX, and asn1_tree::codec.
Referenced by asn1_create().
| int asn1_set_codec_by_name | ( | struct asn1_tree * | tree, |
| const char * | name | ||
| ) |
Definition at line 48 of file asn1_codec.c.
References ARRAY_SIZE, and asn1_tree::codec.