Wireshark 4.5.0
The Wireshark network protocol analyzer
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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 <stdbool.h>
20#include "ws_attributes.h"
21
22typedef struct _dtd_build_data_t {
23 char* proto_name;
24 char* media_type;
25 char* description;
26 char* proto_root;
27 bool recursion;
28
29 GPtrArray* elements;
30 GPtrArray* attributes;
31
32 GString* error;
34
35typedef struct _dtd_token_data_t {
36 char* text;
37 char* location;
39
40typedef struct _dtd_named_list_t {
41 char* name;
42 GPtrArray* list;
44
45typedef struct _dtd_preparse_scanner_state Dtd_PreParse_scanner_state_t;
46
47extern GString* dtd_preparse(const char* dname, const char* fname, GString* err);
48extern dtd_build_data_t* dtd_parse(GString* s);
49extern const char* dtd_location(Dtd_PreParse_scanner_state_t* state);
50
51#endif
Definition dtd.h:22
Definition dtd.h:40
Definition dtd.h:35