Macros | Functions | Variables
asn_internal.h File Reference
#include "etsi_its_cam_ts_coding/asn_application.h"
#include <assert.h>
#include <etsi_its_cam_ts_coding/uper_decoder.h>
#include <etsi_its_cam_ts_coding/uper_encoder.h>
#include <etsi_its_cam_ts_coding/aper_decoder.h>
#include <etsi_its_cam_ts_coding/aper_encoder.h>
Include dependency graph for asn_internal.h:

Go to the source code of this file.

Macros

#define __EXTENSIONS__   /* for Sun */
 
#define _i_INDENT(nl)
 
#define ASN1C_ENVIRONMENT_VERSION   923 /* Compile-time version */
 
#define ASN__CALLBACK(buf, size)   ASN__E_CALLBACK(size, ASN__E_cbc(buf, size))
 
#define ASN__CALLBACK2(buf1, size1, buf2, size2)
 
#define ASN__CALLBACK3(buf1, size1, buf2, size2, buf3, size3)
 
#define ASN__DEFAULT_STACK_MAX   (30000)
 
#define ASN__E_CALLBACK(size, foo)
 
#define ASN__E_cbc(buf, size)   (cb((buf), (size), app_key) < 0)
 
#define ASN__TEXT_INDENT(nl, level)
 
#define asn_debug_indent   0
 
#define ASN_DEBUG_INDENT_ADD(i)   do{}while(0)
 
#define CALLOC(nmemb, size)   calloc(nmemb, size)
 
#define FREEMEM(ptr)   free(ptr)
 
#define MALLOC(size)   malloc(size)
 
#define REALLOC(oldptr, size)   realloc(oldptr, size)
 

Functions

static int CC_NOTUSED ASN__STACK_OVERFLOW_CHECK (const asn_codec_ctx_t *ctx)
 
static void CC_PRINTFLIKE (1, 2) ASN_DEBUG(const char *fmt
 
static void ssize_t CC_PRINTFLIKE (3, 4) asn__format_to_callback(int(*callback)(const void *
 
int get_asn1c_environment_version (void)
 

Variables

static void ssize_t void void const char * fmt
 
static void ssize_t void * key
 
static void ssize_t size_t
 

Macro Definition Documentation

◆ __EXTENSIONS__

#define __EXTENSIONS__   /* for Sun */

Definition at line 11 of file asn_internal.h.

◆ _i_INDENT

#define _i_INDENT (   nl)
Value:
do { \
int tmp_i; \
if((nl) && cb("\n", 1, app_key) < 0) \
return -1; \
for(tmp_i = 0; tmp_i < ilevel; tmp_i++) \
if(cb(" ", 4, app_key) < 0) \
return -1; \
} while(0)

Definition at line 127 of file asn_internal.h.

◆ ASN1C_ENVIRONMENT_VERSION

#define ASN1C_ENVIRONMENT_VERSION   923 /* Compile-time version */

Definition at line 34 of file asn_internal.h.

◆ ASN__CALLBACK

#define ASN__CALLBACK (   buf,
  size 
)    ASN__E_CALLBACK(size, ASN__E_cbc(buf, size))

Definition at line 108 of file asn_internal.h.

◆ ASN__CALLBACK2

#define ASN__CALLBACK2 (   buf1,
  size1,
  buf2,
  size2 
)
Value:
ASN__E_CALLBACK((size1) + (size2), \
ASN__E_cbc(buf1, size1) || ASN__E_cbc(buf2, size2))

Definition at line 109 of file asn_internal.h.

◆ ASN__CALLBACK3

#define ASN__CALLBACK3 (   buf1,
  size1,
  buf2,
  size2,
  buf3,
  size3 
)
Value:
ASN__E_CALLBACK((size1) + (size2) + (size3), \
ASN__E_cbc(buf1, size1) || ASN__E_cbc(buf2, size2) \
|| ASN__E_cbc(buf3, size3))

Definition at line 112 of file asn_internal.h.

◆ ASN__DEFAULT_STACK_MAX

#define ASN__DEFAULT_STACK_MAX   (30000)

Definition at line 155 of file asn_internal.h.

◆ ASN__E_CALLBACK

#define ASN__E_CALLBACK (   size,
  foo 
)
Value:
do { \
if(foo) goto cb_failed; \
er.encoded += (size); \
} while(0)

Definition at line 103 of file asn_internal.h.

◆ ASN__E_cbc

#define ASN__E_cbc (   buf,
  size 
)    (cb((buf), (size), app_key) < 0)

Definition at line 102 of file asn_internal.h.

◆ ASN__TEXT_INDENT

#define ASN__TEXT_INDENT (   nl,
  level 
)
Value:
do { \
int tmp_level = (level); \
int tmp_nl = ((nl) != 0); \
int tmp_i; \
if(tmp_nl) ASN__CALLBACK("\n", 1); \
if(tmp_level < 0) tmp_level = 0; \
for(tmp_i = 0; tmp_i < tmp_level; tmp_i++) ASN__CALLBACK(" ", 4); \
} while(0)

Definition at line 117 of file asn_internal.h.

◆ asn_debug_indent

#define asn_debug_indent   0

Definition at line 42 of file asn_internal.h.

◆ ASN_DEBUG_INDENT_ADD

#define ASN_DEBUG_INDENT_ADD (   i)    do{}while(0)

Definition at line 43 of file asn_internal.h.

◆ CALLOC

#define CALLOC (   nmemb,
  size 
)    calloc(nmemb, size)

Definition at line 37 of file asn_internal.h.

◆ FREEMEM

#define FREEMEM (   ptr)    free(ptr)

Definition at line 40 of file asn_internal.h.

◆ MALLOC

#define MALLOC (   size)    malloc(size)

Definition at line 38 of file asn_internal.h.

◆ REALLOC

#define REALLOC (   oldptr,
  size 
)    realloc(oldptr, size)

Definition at line 39 of file asn_internal.h.

Function Documentation

◆ ASN__STACK_OVERFLOW_CHECK()

static int CC_NOTUSED ASN__STACK_OVERFLOW_CHECK ( const asn_codec_ctx_t ctx)
static

Definition at line 165 of file asn_internal.h.

◆ CC_PRINTFLIKE() [1/2]

static void CC_PRINTFLIKE ( ,
 
) const
static

◆ CC_PRINTFLIKE() [2/2]

static void ssize_t CC_PRINTFLIKE ( ,
 
) const

◆ get_asn1c_environment_version()

int get_asn1c_environment_version ( void  )

Definition at line 12 of file constr_TYPE.c.

Variable Documentation

◆ fmt

void ssize_t void void const char* fmt

Definition at line 97 of file asn_internal.h.

◆ key

static void ssize_t void void * key

Definition at line 96 of file asn_internal.h.

◆ size_t

void ssize_t size_t

Definition at line 96 of file asn_internal.h.

ASN__CALLBACK
#define ASN__CALLBACK(buf, size)
Definition: asn_internal.h:108
ASN__E_CALLBACK
#define ASN__E_CALLBACK(size, foo)
Definition: asn_internal.h:103
ASN__E_cbc
#define ASN__E_cbc(buf, size)
Definition: asn_internal.h:102


etsi_its_cam_ts_coding
Author(s): Jean-Pierre Busch , Guido Küppers , Lennart Reiher
autogenerated on Sun May 18 2025 02:21:23