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 gint32 indirect_reference;
107 bool data_value_descr_present;
118 gint32 presentation_context_id;
119 const char *abstract_syntax;
120 const char *transfer_syntax;
134 #define ROSE_CTX_SIGNATURE 0x524F5345
148 gsize fillin_buf_size;
164 const char *code_global;
170 WS_DLL_PUBLIC
void asn1_ctx_init(
asn1_ctx_t *actx, asn1_enc_e encoding,
bool aligned,
packet_info *pinfo);
171 extern bool asn1_ctx_check_signature(
asn1_ctx_t *actx);
172 extern void asn1_ctx_clean_external(
asn1_ctx_t *actx);
173 extern void asn1_ctx_clean_epdv(
asn1_ctx_t *actx);
175 extern void asn1_stack_frame_push(
asn1_ctx_t *actx,
const gchar *name);
176 extern void asn1_stack_frame_pop(
asn1_ctx_t *actx,
const gchar *name);
179 extern void asn1_param_push_boolean(
asn1_ctx_t *actx,
bool value);
180 extern void asn1_param_push_integer(
asn1_ctx_t *actx, gint32 value);
181 extern bool asn1_param_get_boolean(
asn1_ctx_t *actx,
const gchar *name);
182 extern gint32 asn1_param_get_integer(
asn1_ctx_t *actx,
const gchar *name);
184 WS_DLL_PUBLIC
void rose_ctx_init(
rose_ctx_t *rctx);
185 extern bool rose_ctx_check_signature(
rose_ctx_t *rctx);
186 WS_DLL_PUBLIC
void rose_ctx_clean_data(
rose_ctx_t *rctx);
188 WS_DLL_PUBLIC
asn1_ctx_t *get_asn1_ctx(
void *ptr);
189 WS_DLL_PUBLIC
rose_ctx_t *get_rose_ctx(
void *ptr);
191 extern double asn1_get_real(
const guint8 *real_ptr, gint len);
194 #define ASN1_EXT_ROOT 0x01
195 #define ASN1_EXT_EXT 0x02
196 #define ASN1_OPT 0x04
197 #define ASN1_DFLT 0x08
199 #define ASN1_HAS_EXT(f) ((f)&(ASN1_EXT_ROOT|ASN1_EXT_EXT))
double asn1_get_real(const guint8 *real_ptr, gint len)
Definition: asn1.c:187
Definition: packet_info.h:44
Definition: tvbuff-int.h:35