16#include "ws_symbol_export.h"
63#define ASN1_CTX_SIGNATURE 0x41435458
76 bool data_value_descr_present;
77 bool direct_ref_present;
78 bool indirect_ref_present;
80 const char *direct_reference;
81 int32_t indirect_reference;
107 bool data_value_descr_present;
118 int32_t presentation_context_id;
119 const char *abstract_syntax;
120 const char *transfer_syntax;
134#define ROSE_CTX_SIGNATURE 0x524F5345
148 size_t fillin_buf_size;
164 const char *code_global;
170WS_DLL_PUBLIC
void asn1_ctx_init(
asn1_ctx_t *actx, asn1_enc_e encoding,
bool aligned,
packet_info *pinfo);
171extern bool asn1_ctx_check_signature(
asn1_ctx_t *actx);
172extern void asn1_ctx_clean_external(
asn1_ctx_t *actx);
173extern void asn1_ctx_clean_epdv(
asn1_ctx_t *actx);
175extern void asn1_stack_frame_push(
asn1_ctx_t *actx,
const char *name);
176extern void asn1_stack_frame_pop(
asn1_ctx_t *actx,
const char *name);
179extern void asn1_param_push_boolean(
asn1_ctx_t *actx,
bool value);
180extern void asn1_param_push_integer(
asn1_ctx_t *actx, int32_t value);
181extern bool asn1_param_get_boolean(
asn1_ctx_t *actx,
const char *name);
182extern int32_t asn1_param_get_integer(
asn1_ctx_t *actx,
const char *name);
184WS_DLL_PUBLIC
void rose_ctx_init(
rose_ctx_t *rctx);
185extern bool rose_ctx_check_signature(
rose_ctx_t *rctx);
186WS_DLL_PUBLIC
void rose_ctx_clean_data(
rose_ctx_t *rctx);
188WS_DLL_PUBLIC
asn1_ctx_t *get_asn1_ctx(
void *ptr);
189WS_DLL_PUBLIC
rose_ctx_t *get_rose_ctx(
void *ptr);
191extern double asn1_get_real(
const uint8_t *real_ptr,
int len);
194#define ASN1_EXT_ROOT 0x01
195#define ASN1_EXT_EXT 0x02
197#define ASN1_DFLT 0x08
199#define ASN1_HAS_EXT(f) ((f)&(ASN1_EXT_ROOT|ASN1_EXT_EXT))
double asn1_get_real(const uint8_t *real_ptr, int len)
Definition asn1.c:187
Definition packet_info.h:43
Definition tvbuff-int.h:35