3 ** Diameter Dictionary Import Routines
5 ** (c) 2007, Luis E. Garcia Ontanon <luis@ontanon.org>
7 ** This library is free software; you can redistribute it and/or
8 ** modify it under the terms of the GNU Library General Public
9 ** License as published by the Free Software Foundation; either
10 ** version 2 of the License, or (at your option) any later version.
12 ** This library is distributed in the hope that it will be useful,
13 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
14 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 ** Library General Public License for more details.
17 ** You should have received a copy of the GNU Library General Public
18 ** License along with this library; if not, write to the Free Software
19 ** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
25 struct _ddict_namecode_t {
28 struct _ddict_namecode_t* next;
31 typedef struct _ddict_namecode_t ddict_gavp_t;
32 typedef struct _ddict_namecode_t ddict_enum_t;
33 typedef struct _ddict_namecode_t ddict_application_t;
35 typedef struct _ddict_vendor_t {
39 struct _ddict_vendor_t* next;
42 typedef struct _ddict_avp_t {
50 struct _ddict_avp_t* next;
53 typedef struct _ddict_typedefn_t {
56 struct _ddict_typedefn_t* next;
59 typedef struct _ddict_cmd_t {
63 struct _ddict_cmd_t* next;
66 typedef struct _ddict_xmlpi_t {
70 struct _ddict_xmlpi_t* next;
73 typedef struct _ddict_t {
74 ddict_application_t* applications;
75 ddict_vendor_t* vendors;
77 ddict_typedefn_t* typedefns;
79 ddict_xmlpi_t* xmlpis;
82 extern void ddict_print(FILE* fh, ddict_t* d);
83 extern ddict_t* ddict_scan(const char* directory, const char* filename, int dbg);
84 extern void ddict_free(ddict_t* d);