Wireshark  4.3.0
The Wireshark network protocol analyzer
diam_dict.h
Go to the documentation of this file.
1 
9 #ifndef _DIAM_DICT_H_
10 #define _DIAM_DICT_H_
11 
13  char* name;
14  guint code;
15  struct _ddict_namecode_t* next;
16 };
17 
18 typedef struct _ddict_namecode_t ddict_gavp_t;
19 typedef struct _ddict_namecode_t ddict_enum_t;
21 
22 typedef struct _ddict_vendor_t {
23  char* name;
24  char* desc;
25  guint code;
26  struct _ddict_vendor_t* next;
28 
29 typedef struct _ddict_avp_t {
30  char* name;
31  char* description;
32  char* vendor;
33  char* type;
34  guint code;
35  ddict_gavp_t* gavps;
36  ddict_enum_t* enums;
37  struct _ddict_avp_t* next;
38 } ddict_avp_t;
39 
40 typedef struct _ddict_typedefn_t {
41  char* name;
42  char* parent;
43  struct _ddict_typedefn_t* next;
45 
46 typedef struct _ddict_cmd_t {
47  char* name;
48  char* vendor;
49  guint code;
50  struct _ddict_cmd_t* next;
51 } ddict_cmd_t;
52 
53 typedef struct _ddict_xmlpi_t {
54  char* name;
55  char* key;
56  char* value;
57  struct _ddict_xmlpi_t* next;
59 
60 typedef struct _ddict_t {
61  ddict_application_t* applications;
62  ddict_vendor_t* vendors;
63  ddict_cmd_t* cmds;
64  ddict_typedefn_t* typedefns;
65  ddict_avp_t* avps;
66  ddict_xmlpi_t* xmlpis;
67 } ddict_t;
68 
69 extern void ddict_print(FILE* fh, ddict_t* d);
70 extern ddict_t* ddict_scan(const char* directory, const char* filename, int dbg);
71 extern void ddict_free(ddict_t* d);
72 
73 #endif
Definition: diam_dict.h:29
Definition: diam_dict.h:46
Definition: diam_dict.h:12
Definition: diam_dict.h:60
Definition: diam_dict.h:40
Definition: diam_dict.h:22
Definition: diam_dict.h:53