ITS
|
Go to the source code of this file.
Macros | |
#define | ASN1C_ENVIRONMENT_VERSION 923 /* Compile-time version */ |
#define | CALLOC(nmemb, size) calloc(nmemb, size) |
#define | MALLOC(size) malloc(size) |
#define | REALLOC(oldptr, size) realloc(oldptr, size) |
#define | FREEMEM(ptr) free(ptr) |
#define | asn_debug_indent 0 |
#define | ASN_DEBUG_INDENT_ADD(i) do{}while(0) |
#define | __ASN_E_cbc(buf, size) (cb((buf), (size), app_key) < 0) |
#define | _ASN_E_CALLBACK(foo) |
#define | _ASN_CALLBACK(buf, size) _ASN_E_CALLBACK(__ASN_E_cbc(buf, size)) |
#define | _ASN_CALLBACK2(buf1, size1, buf2, size2) _ASN_E_CALLBACK(__ASN_E_cbc(buf1, size1) || __ASN_E_cbc(buf2, size2)) |
#define | _ASN_CALLBACK3(buf1, size1, buf2, size2, buf3, size3) |
#define | _i_ASN_TEXT_INDENT(nl, level) |
#define | _i_INDENT(nl) |
#define | _ASN_DEFAULT_STACK_MAX (30000) |
Functions | |
int | get_asn1c_environment_version (void) |
static void | ASN_DEBUG (const char *fmt,...) |
static int | _ASN_STACK_OVERFLOW_CHECK (asn_codec_ctx_t *ctx) |
#define __ASN_E_cbc | ( | buf, | |
size | |||
) | (cb((buf), (size), app_key) < 0) |
Definition at line 69 of file asn_internal.h.
#define _ASN_CALLBACK | ( | buf, | |
size | |||
) | _ASN_E_CALLBACK(__ASN_E_cbc(buf, size)) |
Definition at line 73 of file asn_internal.h.
Referenced by BIT_STRING_encode_xer(), BOOLEAN_encode_xer(), OCTET_STRING_encode_der(), OCTET_STRING_encode_xer(), and SET_OF_encode_xer().
#define _ASN_CALLBACK2 | ( | buf1, | |
size1, | |||
buf2, | |||
size2 | |||
) | _ASN_E_CALLBACK(__ASN_E_cbc(buf1, size1) || __ASN_E_cbc(buf2, size2)) |
Definition at line 75 of file asn_internal.h.
#define _ASN_CALLBACK3 | ( | buf1, | |
size1, | |||
buf2, | |||
size2, | |||
buf3, | |||
size3 | |||
) |
Definition at line 77 of file asn_internal.h.
Referenced by CHOICE_encode_xer(), SEQUENCE_encode_xer(), SEQUENCE_OF_encode_xer(), SET_OF_encode_xer(), and xer_encode().
#define _ASN_DEFAULT_STACK_MAX (30000) |
Definition at line 103 of file asn_internal.h.
Referenced by ber_decode(), uper_decode(), and xer_decode().
#define _ASN_E_CALLBACK | ( | foo | ) |
Definition at line 70 of file asn_internal.h.
#define _i_ASN_TEXT_INDENT | ( | nl, | |
level | |||
) |
Definition at line 82 of file asn_internal.h.
Referenced by BIT_STRING_encode_xer(), CHOICE_encode_xer(), OCTET_STRING_encode_xer(), SEQUENCE_encode_xer(), SEQUENCE_OF_encode_xer(), and SET_OF_encode_xer().
#define _i_INDENT | ( | nl | ) |
Definition at line 93 of file asn_internal.h.
Referenced by BIT_STRING_print(), OCTET_STRING_print(), SEQUENCE_print(), and SET_OF_print().
#define ASN1C_ENVIRONMENT_VERSION 923 /* Compile-time version */ |
Definition at line 23 of file asn_internal.h.
Referenced by get_asn1c_environment_version().
#define asn_debug_indent 0 |
Definition at line 31 of file asn_internal.h.
#define ASN_DEBUG_INDENT_ADD | ( | i | ) | do{}while(0) |
Definition at line 32 of file asn_internal.h.
Referenced by uper_open_type_get_complex(), and uper_open_type_get_simple().
#define CALLOC | ( | nmemb, | |
size | |||
) | calloc(nmemb, size) |
Definition at line 26 of file asn_internal.h.
Referenced by _new_stack(), asn_DFL_9_set_600(), ber_decode_primitive(), BOOLEAN_decode_ber(), CHOICE_decode_ber(), CHOICE_decode_uper(), CHOICE_decode_xer(), NativeInteger_decode_ber(), NativeInteger_decode_uper(), NativeInteger_decode_xer(), OCTET_STRING__decode_xer(), OCTET_STRING_decode_ber(), OCTET_STRING_new_fromBuf(), OS__add_stack_el(), SEQUENCE_decode_ber(), SEQUENCE_decode_uper(), SEQUENCE_decode_xer(), SET_OF_decode_ber(), SET_OF_decode_uper(), SET_OF_decode_xer(), and xer_decode_primitive().
#define FREEMEM | ( | ptr | ) | free(ptr) |
Definition at line 29 of file asn_internal.h.
Referenced by ASN__PRIMITIVE_TYPE_free(), asn_long2INTEGER(), asn_set_empty(), asn_ulong2INTEGER(), BOOLEAN_free(), CHOICE_free(), encode_dyn_cb(), INTEGER_st_prealloc(), NativeInteger_free(), OCTET_STRING__decode_xer(), OCTET_STRING_free(), OCTET_STRING_fromBuf(), OCTET_STRING_new_fromBuf(), SEQUENCE_decode_uper(), SEQUENCE_free(), SET_OF_encode_der(), SET_OF_encode_xer(), SET_OF_free(), uper_encode_to_new_buffer(), uper_open_type_get_simple(), and uper_open_type_put().
#define MALLOC | ( | size | ) | malloc(size) |
Definition at line 27 of file asn_internal.h.
Referenced by asn_long2INTEGER(), asn_ulong2INTEGER(), ber_decode_primitive(), BOOLEAN_decode_uper(), INTEGER_st_prealloc(), OCTET_STRING_fromBuf(), SEQUENCE_decode_uper(), SET_OF_encode_der(), SET_OF_encode_xer(), and uper_encode_to_new_buffer().
#define REALLOC | ( | oldptr, | |
size | |||
) | realloc(oldptr, size) |
Definition at line 28 of file asn_internal.h.
Referenced by asn_set_add(), encode_dyn_cb(), OCTET_STRING__convert_binary(), OCTET_STRING__convert_entrefs(), OCTET_STRING__convert_hexadecimal(), OCTET_STRING__handle_control_chars(), SET_OF_encode_xer_callback(), and uper_open_type_get_simple().
|
inlinestatic |
Definition at line 105 of file asn_internal.h.
References ASN_DEBUG(), and asn_codec_ctx_s::max_stack_size.
Referenced by ber_check_tags(), ber_skip_length(), CHOICE_decode_uper(), SEQUENCE_decode_uper(), SET_OF_decode_uper(), uper_open_type_get_complex(), and uper_open_type_get_simple().
|
inlinestatic |
Definition at line 62 of file asn_internal.h.
Referenced by _ASN_STACK_OVERFLOW_CHECK(), ASN__PRIMITIVE_TYPE_free(), ber_check_tags(), ber_decode_primitive(), ber_skip_length(), BOOLEAN_decode_ber(), BOOLEAN_decode_uper(), CHOICE_decode_ber(), CHOICE_decode_uper(), CHOICE_decode_xer(), CHOICE_encode_der(), CHOICE_encode_uper(), CHOICE_free(), der_encode(), der_encode_primitive(), der_write_tags(), INTEGER__dump(), INTEGER__xer_body_decode(), INTEGER_encode_der(), INTEGER_encode_uper(), NativeEnumerated_encode_uper(), NativeEnumerated_encode_xer(), NativeInteger_decode_ber(), NativeInteger_decode_uper(), NativeInteger_encode_uper(), NativeInteger_free(), OCTET_STRING_decode_ber(), OCTET_STRING_encode_der(), OCTET_STRING_encode_uper(), OCTET_STRING_free(), OCTET_STRING_per_get_characters(), OCTET_STRING_per_put_characters(), per_get_few_bits(), per_put_few_bits(), SEQUENCE_decode_ber(), SEQUENCE_decode_uper(), SEQUENCE_decode_xer(), SEQUENCE_encode_der(), SEQUENCE_encode_uper(), SEQUENCE_free(), SEQUENCE_handle_extensions(), SEQUENCE_OF_encode_der(), SEQUENCE_OF_encode_uper(), SET_OF_decode_ber(), SET_OF_decode_uper(), SET_OF_decode_xer(), SET_OF_encode_der(), uper_decode(), uper_decode_complete(), uper_encode_to_buffer(), uper_encode_to_new_buffer(), uper_get_nslength(), uper_open_type_get_complex(), uper_open_type_get_simple(), uper_open_type_put(), uper_ugot_refill(), xer_check_tag(), xer_decode_general(), and xer_decode_primitive().
int get_asn1c_environment_version | ( | void | ) |
Definition at line 12 of file constr_TYPE.c.
References ASN1C_ENVIRONMENT_VERSION.