3 ** Diameter Dictionary Import Routines
7 ** (c) 2007, Luis E. Garcia Ontanon <luis.ontanon@gmail.com>
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
21 ** Free Software Foundation, Inc., 59 Temple Place - Suite 330,
22 ** Boston, MA 02111-1307, USA.
28 struct _ddict_namecode_t {
31 struct _ddict_namecode_t* next;
34 typedef struct _ddict_namecode_t ddict_gavp_t;
35 typedef struct _ddict_namecode_t ddict_enum_t;
36 typedef struct _ddict_namecode_t ddict_application_t;
38 typedef struct _ddict_vendor_t {
42 struct _ddict_vendor_t* next;
45 typedef struct _ddict_avp_t {
53 struct _ddict_avp_t* next;
56 typedef struct _ddict_typedefn_t {
59 struct _ddict_typedefn_t* next;
62 typedef struct _ddict_cmd_t {
66 struct _ddict_cmd_t* next;
69 typedef struct _ddict_t {
70 ddict_application_t* applications;
71 ddict_vendor_t* vendors;
73 ddict_typedefn_t* typedefns;
77 extern void ddict_print(FILE* fh, ddict_t* d);
78 extern ddict_t* ddict_scan(const char* directory, const char* filename);
79 extern void ddict_free(ddict_t* d);