ITS
INTEGER.h File Reference
#include <asn_application.h>
#include <asn_codecs_prim.h>
Include dependency graph for INTEGER.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  asn_INTEGER_enum_map_s
 
struct  asn_INTEGER_specifics_s
 

Typedefs

typedef ASN__PRIMITIVE_TYPE_t INTEGER_t
 
typedef struct asn_INTEGER_enum_map_s asn_INTEGER_enum_map_t
 
typedef struct asn_INTEGER_specifics_s asn_INTEGER_specifics_t
 

Enumerations

enum  asn_strtol_result_e {
  ASN_STRTOL_ERROR_RANGE = -3, ASN_STRTOL_ERROR_INVAL = -2, ASN_STRTOL_EXPECT_MORE = -1, ASN_STRTOL_OK = 0,
  ASN_STRTOL_EXTRA_DATA = 1
}
 

Functions

int asn_INTEGER2long (const INTEGER_t *i, long *l)
 
int asn_INTEGER2ulong (const INTEGER_t *i, unsigned long *l)
 
int asn_long2INTEGER (INTEGER_t *i, long l)
 
int asn_ulong2INTEGER (INTEGER_t *i, unsigned long l)
 
enum asn_strtol_result_e asn_strtol_lim (const char *str, const char **end, long *l)
 
enum asn_strtol_result_e asn_strtol (const char *str, const char *end, long *l)
 
const asn_INTEGER_enum_map_tINTEGER_map_value2enum (asn_INTEGER_specifics_t *specs, long value)
 

Variables

asn_TYPE_descriptor_t asn_DEF_INTEGER
 
asn_struct_print_f INTEGER_print
 
ber_type_decoder_f INTEGER_decode_ber
 
der_type_encoder_f INTEGER_encode_der
 
xer_type_decoder_f INTEGER_decode_xer
 
xer_type_encoder_f INTEGER_encode_xer
 
per_type_decoder_f INTEGER_decode_uper
 
per_type_encoder_f INTEGER_encode_uper
 

Typedef Documentation

◆ asn_INTEGER_enum_map_t

◆ asn_INTEGER_specifics_t

◆ INTEGER_t

Definition at line 15 of file INTEGER.h.

Enumeration Type Documentation

◆ asn_strtol_result_e

Enumerator
ASN_STRTOL_ERROR_RANGE 
ASN_STRTOL_ERROR_INVAL 
ASN_STRTOL_EXPECT_MORE 
ASN_STRTOL_OK 
ASN_STRTOL_EXTRA_DATA 

Definition at line 61 of file INTEGER.h.

Function Documentation

◆ asn_INTEGER2long()

int asn_INTEGER2long ( const INTEGER_t i,
long *  l 
)

Definition at line 765 of file INTEGER.c.

References ASN__PRIMITIVE_TYPE_s::buf, and ASN__PRIMITIVE_TYPE_s::size.

Referenced by constr_INTEGER(), cpy_INTEGER(), INTEGER__dump(), INTEGER_encode_uper(), isEqual_INTEGER(), make_ManagementContainer(), NativeInteger_decode_ber(), NativeInteger_decode_uper(), NativeInteger_decode_xer(), and TimestampIts_constraint().

Here is the caller graph for this function:

◆ asn_INTEGER2ulong()

◆ asn_long2INTEGER()

◆ asn_strtol()

enum asn_strtol_result_e asn_strtol ( const char *  str,
const char *  end,
long *  l 
)

Definition at line 940 of file INTEGER.c.

References ASN_STRTOL_ERROR_INVAL, ASN_STRTOL_ERROR_RANGE, ASN_STRTOL_EXPECT_MORE, ASN_STRTOL_EXTRA_DATA, asn_strtol_lim(), and ASN_STRTOL_OK.

Here is the call graph for this function:

◆ asn_strtol_lim()

enum asn_strtol_result_e asn_strtol_lim ( const char *  str,
const char **  end,
long *  l 
)

Definition at line 966 of file INTEGER.c.

References ASN_STRTOL_ERROR_INVAL, ASN_STRTOL_ERROR_RANGE, ASN_STRTOL_EXPECT_MORE, ASN_STRTOL_EXTRA_DATA, and ASN_STRTOL_OK.

Referenced by asn_strtol(), and INTEGER__xer_body_decode().

Here is the caller graph for this function:

◆ asn_ulong2INTEGER()

int asn_ulong2INTEGER ( INTEGER_t i,
unsigned long  l 
)

Definition at line 857 of file INTEGER.c.

References asn_long2INTEGER(), ASN__PRIMITIVE_TYPE_s::buf, FREEMEM, MALLOC, and ASN__PRIMITIVE_TYPE_s::size.

Referenced by fill_ManagementContainer(), NativeInteger_encode_uper(), denMessageTable::setTimestamp(), and denMessageTableSource::setTimestamp().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ INTEGER_map_value2enum()

const asn_INTEGER_enum_map_t* INTEGER_map_value2enum ( asn_INTEGER_specifics_t specs,
long  value 
)

Definition at line 282 of file INTEGER.c.

References INTEGER__compar_value2enum(), asn_INTEGER_specifics_s::map_count, and asn_INTEGER_specifics_s::value2enum.

Referenced by INTEGER__dump(), and NativeEnumerated_encode_xer().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ asn_DEF_INTEGER

◆ INTEGER_decode_ber

ber_type_decoder_f INTEGER_decode_ber

Definition at line 38 of file INTEGER.h.

◆ INTEGER_decode_uper

per_type_decoder_f INTEGER_decode_uper

Definition at line 42 of file INTEGER.h.

Referenced by NativeInteger_decode_uper().

◆ INTEGER_decode_xer

xer_type_decoder_f INTEGER_decode_xer

Definition at line 40 of file INTEGER.h.

Referenced by NativeInteger_decode_xer().

◆ INTEGER_encode_der

der_type_encoder_f INTEGER_encode_der

Definition at line 39 of file INTEGER.h.

Referenced by NativeInteger_encode_der().

◆ INTEGER_encode_uper

per_type_encoder_f INTEGER_encode_uper

Definition at line 43 of file INTEGER.h.

Referenced by NativeInteger_encode_uper().

◆ INTEGER_encode_xer

xer_type_encoder_f INTEGER_encode_xer

Definition at line 41 of file INTEGER.h.

◆ INTEGER_print

asn_struct_print_f INTEGER_print

Definition at line 37 of file INTEGER.h.