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

Go to the source code of this file.

Typedefs

typedef asn_enc_rval_t() xer_type_encoder_f(struct asn_TYPE_descriptor_s *type_descriptor, void *struct_ptr, int ilevel, enum xer_encoder_flags_e xer_flags, asn_app_consume_bytes_f *consume_bytes_cb, void *app_key)
 

Enumerations

enum  xer_encoder_flags_e { XER_F_BASIC = 0x01, XER_F_CANONICAL = 0x02 }
 

Functions

asn_enc_rval_t xer_encode (struct asn_TYPE_descriptor_s *type_descriptor, void *struct_ptr, enum xer_encoder_flags_e xer_flags, asn_app_consume_bytes_f *consume_bytes_cb, void *app_key)
 
int xer_fprint (FILE *stream, struct asn_TYPE_descriptor_s *td, void *sptr)
 

Typedef Documentation

◆ xer_type_encoder_f

typedef asn_enc_rval_t() xer_type_encoder_f(struct asn_TYPE_descriptor_s *type_descriptor, void *struct_ptr, int ilevel, enum xer_encoder_flags_e xer_flags, asn_app_consume_bytes_f *consume_bytes_cb, void *app_key)

Definition at line 46 of file xer_encoder.h.

Enumeration Type Documentation

◆ xer_encoder_flags_e

Enumerator
XER_F_BASIC 
XER_F_CANONICAL 

Definition at line 17 of file xer_encoder.h.

Function Documentation

◆ xer_encode()

asn_enc_rval_t xer_encode ( struct asn_TYPE_descriptor_s type_descriptor,
void *  struct_ptr,
enum xer_encoder_flags_e  xer_flags,
asn_app_consume_bytes_f consume_bytes_cb,
void *  app_key 
)

Definition at line 13 of file xer_encoder.c.

References _ASN_CALLBACK3, _ASN_ENCODE_FAILED, _ASN_ENCODED_OK, asn_enc_rval_s::encoded, asn_TYPE_descriptor_s::xer_encoder, XER_F_CANONICAL, and asn_TYPE_descriptor_s::xml_tag.

Referenced by xer_fprint().

Here is the caller graph for this function:

◆ xer_fprint()

int xer_fprint ( FILE *  stream,
struct asn_TYPE_descriptor_s td,
void *  sptr 
)

Definition at line 55 of file xer_encoder.c.

References asn_enc_rval_s::encoded, xer__print2fp(), xer_encode(), and XER_F_BASIC.

Here is the call graph for this function: