Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
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
23typedef 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;
35
36typedef struct _dtd_token_data_t {
37 char* text;
38 char* location;
40
41typedef struct _dtd_named_list_t {
42 char* name;
43 GPtrArray* list;
45
46typedef struct _dtd_preparse_scanner_state Dtd_PreParse_scanner_state_t;
47
48extern GString* dtd_preparse(const char* dname, const char* fname, GString* err);
49extern dtd_build_data_t* dtd_parse(GString* s);
50extern const char* dtd_location(Dtd_PreParse_scanner_state_t* state);
51
52#endif
Definition dtd.h:23
Definition dtd.h:41
Definition dtd.h:36