2 ** Diameter Dictionary Import Routines
4 ** (c) 2007, Luis E. Garcia Ontanon <luis@ontanon.org>
6 ** SPDX-License-Identifier: GPL-2.0-or-later
12 struct _ddict_namecode_t
{
15 struct _ddict_namecode_t
* next
;
18 typedef struct _ddict_namecode_t ddict_gavp_t
;
19 typedef struct _ddict_namecode_t ddict_enum_t
;
20 typedef struct _ddict_namecode_t ddict_application_t
;
22 typedef struct _ddict_vendor_t
{
26 struct _ddict_vendor_t
* next
;
29 typedef struct _ddict_avp_t
{
37 struct _ddict_avp_t
* next
;
40 typedef struct _ddict_typedefn_t
{
43 struct _ddict_typedefn_t
* next
;
46 typedef struct _ddict_cmd_t
{
50 struct _ddict_cmd_t
* next
;
53 typedef struct _ddict_xmlpi_t
{
57 struct _ddict_xmlpi_t
* next
;
60 typedef struct _ddict_t
{
61 ddict_application_t
* applications
;
62 ddict_vendor_t
* vendors
;
64 ddict_typedefn_t
* typedefns
;
66 ddict_xmlpi_t
* xmlpis
;
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
);