3 ** Diameter Dictionary Import Routines
7 ** (c) 2007, Luis E. Garcia Ontanon <luis@ontanon.org>
9 ** This library is free software; you can redistribute it and/or
10 ** modify it under the terms of the GNU Library General Public
11 ** License as published by the Free Software Foundation; either
12 ** version 2 of the License, or (at your option) any later version.
14 ** This library is distributed in the hope that it will be useful,
15 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
16 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 ** Library General Public License for more details.
19 ** You should have received a copy of the GNU Library General Public
20 ** License along with this library; if not, write to the Free Software
21 ** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
27 struct _ddict_namecode_t
{
30 struct _ddict_namecode_t
* next
;
33 typedef struct _ddict_namecode_t ddict_gavp_t
;
34 typedef struct _ddict_namecode_t ddict_enum_t
;
35 typedef struct _ddict_namecode_t ddict_application_t
;
37 typedef struct _ddict_vendor_t
{
41 struct _ddict_vendor_t
* next
;
44 typedef struct _ddict_avp_t
{
52 struct _ddict_avp_t
* next
;
55 typedef struct _ddict_typedefn_t
{
58 struct _ddict_typedefn_t
* next
;
61 typedef struct _ddict_cmd_t
{
65 struct _ddict_cmd_t
* next
;
68 typedef struct _ddict_xmlpi_t
{
72 struct _ddict_xmlpi_t
* next
;
75 typedef struct _ddict_t
{
76 ddict_application_t
* applications
;
77 ddict_vendor_t
* vendors
;
79 ddict_typedefn_t
* typedefns
;
81 ddict_xmlpi_t
* xmlpis
;
84 extern void ddict_print(FILE* fh
, ddict_t
* d
);
85 extern ddict_t
* ddict_scan(const char* directory
, const char* filename
, int dbg
);
86 extern void ddict_free(ddict_t
* d
);