Wireshark
4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
epan
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 <stdlib.h>
/* exit() */
21
#include "ws_attributes.h"
22
23
typedef
struct
_dtd_build_data_t
{
24
char
* proto_name;
25
char
* media_type;
26
char
* description;
27
char
* proto_root;
28
bool
recursion;
29
30
GPtrArray* elements;
31
GPtrArray* attributes;
32
33
GString* error;
34
}
dtd_build_data_t
;
35
36
typedef
struct
_dtd_token_data_t
{
37
char
* text;
38
char
* location;
39
}
dtd_token_data_t
;
40
41
typedef
struct
_dtd_named_list_t
{
42
char
* name;
43
GPtrArray* list;
44
}
dtd_named_list_t
;
45
46
typedef
struct
_dtd_preparse_scanner_state Dtd_PreParse_scanner_state_t;
47
48
extern
GString* dtd_preparse(
const
char
* dname,
const
char
* fname, GString* err);
49
extern
dtd_build_data_t
* dtd_parse(GString* s);
50
extern
const
char
* dtd_location(Dtd_PreParse_scanner_state_t* state);
51
52
#endif
_dtd_build_data_t
Definition
dtd.h:23
_dtd_named_list_t
Definition
dtd.h:41
_dtd_token_data_t
Definition
dtd.h:36
Generated by
1.9.8