Main Page | Data Structures | File List | Data Fields | Globals

kfaml.h

Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2000-2003 KFA: Andrew Moenk and Alex Scott
00003  *
00004  * This program is free software; you can redistribute it and/or
00005  * modify it under the terms of the GNU Library General Public
00006  * License as published by the Free Software Foundation; either
00007  * version 2 of the License, or (at your option) any later version.
00008  *
00009  * This program is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012  * Library General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU Library General Public
00015  * License along with this program; if not, write to the
00016  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00017  * Boston, MA 02111-1307, USA.
00018  */
00019 
00024 #include "cuf-global.h"
00025 #include "llist.h"
00026 #include "strings.h"
00027 #include "win32lacks.h"
00028 
00029 #ifndef _KFAML_H_
00030 # define _KFAML_H_
00031 
00036 typedef struct _KFAmlAttr {
00037         char *key;                      
00038         char *value;                    
00039 } KFAmlAttr;
00040 
00045 typedef struct _KFAmlTag {
00046         char *tagtype;                  
00047         char *stream;                   
00048         Llist *attributes;              
00049         Llist *children;                
00050         int closetag; 
00051 } KFAmlTag;
00052 
00053 Llist *kfaml_parse (char *stream, char **tags, int depth);
00054 void kfaml_free (Llist *tree);
00055 
00056 #endif /* _KFAML_H_ */

Generated on Fri Jun 4 18:35:18 2004 for cuf by doxygen 1.3.6