3 ** Diameter Dictionary Import Routines
5 ** (c) 2007, Luis E. Garcia Ontanon <luis@ontanon.org>
7 ** SPDX-License-Identifier: GPL-2.0-or-later
13 struct _ddict_namecode_t
{
16 struct _ddict_namecode_t
* next
;
19 typedef struct _ddict_namecode_t ddict_gavp_t
;
20 typedef struct _ddict_namecode_t ddict_enum_t
;
21 typedef struct _ddict_namecode_t ddict_application_t
;
23 typedef struct _ddict_vendor_t
{
27 struct _ddict_vendor_t
* next
;
30 typedef struct _ddict_avp_t
{
38 struct _ddict_avp_t
* next
;
41 typedef struct _ddict_typedefn_t
{
44 struct _ddict_typedefn_t
* next
;
47 typedef struct _ddict_cmd_t
{
51 struct _ddict_cmd_t
* next
;
54 typedef struct _ddict_xmlpi_t
{
58 struct _ddict_xmlpi_t
* next
;
61 typedef struct _ddict_t
{
62 ddict_application_t
* applications
;
63 ddict_vendor_t
* vendors
;
65 ddict_typedefn_t
* typedefns
;
67 ddict_xmlpi_t
* xmlpis
;
70 extern void ddict_print(FILE* fh
, ddict_t
* d
);
71 extern ddict_t
* ddict_scan(const char* directory
, const char* filename
, int dbg
);
72 extern void ddict_free(ddict_t
* d
);