ITS
xer_encoder.c File Reference
#include <asn_internal.h>
#include <stdio.h>
#include <errno.h>
Include dependency graph for xer_encoder.c:

Go to the source code of this file.

Functions

asn_enc_rval_t xer_encode (asn_TYPE_descriptor_t *td, void *sptr, enum xer_encoder_flags_e xer_flags, asn_app_consume_bytes_f *cb, void *app_key)
 
static int xer__print2fp (const void *buffer, size_t size, void *app_key)
 
int xer_fprint (FILE *stream, asn_TYPE_descriptor_t *td, void *sptr)
 

Function Documentation

◆ xer__print2fp()

static int xer__print2fp ( const void *  buffer,
size_t  size,
void *  app_key 
)
static

Definition at line 45 of file xer_encoder.c.

Referenced by xer_fprint().

Here is the caller graph for this function:

◆ xer_encode()

asn_enc_rval_t xer_encode ( asn_TYPE_descriptor_t td,
void *  sptr,
enum xer_encoder_flags_e  xer_flags,
asn_app_consume_bytes_f 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,
asn_TYPE_descriptor_t 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: