Wireshark  4.3.0
The Wireshark network protocol analyzer
dtd.h
Go to the documentation of this file.
1 
15 #ifndef _DTD_H_
16 #define _DTD_H_
17 
18 #include <glib.h>
19 #include <stdlib.h> /* exit() */
20 #include "ws_attributes.h"
21 
22 typedef struct _dtd_build_data_t {
23  gchar* proto_name;
24  gchar* media_type;
25  gchar* description;
26  gchar* proto_root;
27  gboolean recursion;
28 
29  GPtrArray* elements;
30  GPtrArray* attributes;
31 
32  GString* error;
34 
35 typedef struct _dtd_token_data_t {
36  gchar* text;
37  gchar* location;
39 
40 typedef struct _dtd_named_list_t {
41  gchar* name;
42  GPtrArray* list;
44 
45 typedef struct _dtd_preparse_scanner_state Dtd_PreParse_scanner_state_t;
46 
47 extern GString* dtd_preparse(const gchar* dname, const gchar* fname, GString* err);
48 extern dtd_build_data_t* dtd_parse(GString* s);
49 extern const gchar* dtd_location(Dtd_PreParse_scanner_state_t* state);
50 
51 #endif
Definition: dtd.h:22
Definition: dtd.h:40
Definition: dtd.h:35