Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

cr-prop-list.h

Go to the documentation of this file.
00001 /*
00002  * This file is part of The Croco Library
00003  *
00004  * This program is free software; you can redistribute it and/or
00005  * modify it under the terms of version 2.1 of the GNU Lesser General Public
00006  * License as published by the Free Software Foundation.
00007  *
00008  * This program is distributed in the hope that it will be useful,
00009  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00010  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00011  * GNU General Public License for more details.
00012  *
00013  * You should have received a copy of the GNU Lesser General Public License
00014  * along with this program; if not, write to the Free Software
00015  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
00016  * USA
00017  *
00018  * See COPYRIGHTS file for copyrights information.
00019  */
00020 
00021 #ifndef __CR_PROP_LIST_H__
00022 #define __CR_PROP_LIST_H__
00023 
00024 #include "cr-utils.h"
00025 #include "cr-declaration.h"
00026 
00027 G_BEGIN_DECLS
00028 
00029 typedef struct _CRPropList CRPropList ;
00030 typedef struct _CRPropListPriv CRPropListPriv ;
00031 
00032 struct _CRPropList 
00033 {
00034         CRPropListPriv * priv;
00035 } ;
00036 
00037 CRPropList * cr_prop_list_append (CRPropList *a_this,
00038                                   CRPropList *a_to_append) ;
00039 
00040 CRPropList * cr_prop_list_append2 (CRPropList *a_this,
00041                                    GString *a_prop,
00042                                    CRDeclaration *a_decl) ;
00043 
00044 CRPropList * cr_prop_list_prepend (CRPropList *a_this,
00045                                    CRPropList *a_to_append) ;
00046 
00047 CRPropList *  cr_prop_list_prepend2 (CRPropList *a_this,
00048                                      GString *a_prop,
00049                                      CRDeclaration *a_decl) ;
00050 
00051 enum CRStatus cr_prop_list_set_prop (CRPropList *a_this,
00052                                      GString *a_prop) ;
00053 
00054 enum CRStatus cr_prop_list_get_prop (CRPropList *a_this,
00055                                      GString **a_prop) ;
00056 
00057 enum CRStatus cr_prop_list_lookup_prop (CRPropList *a_this,
00058                                         GString *a_prop,
00059                                         CRPropList**a_pair) ;
00060 
00061 CRPropList * cr_prop_list_get_next (CRPropList *a_this) ;
00062 
00063 CRPropList * cr_prop_list_get_prev (CRPropList *a_this) ;
00064 
00065 enum CRStatus cr_prop_list_set_decl (CRPropList *a_this,
00066                                      CRDeclaration *a_decl);
00067 
00068 enum CRStatus cr_prop_list_get_decl (CRPropList *a_this,
00069                                      CRDeclaration **a_decl) ;
00070 
00071 CRPropList * cr_prop_list_unlink (CRPropList *a_this, 
00072                                   CRPropList *a_pair) ;
00073 
00074 void cr_prop_list_destroy (CRPropList *a_this) ;
00075 
00076 G_END_DECLS
00077 
00078 #endif /*__CR_PROP_LIST_H__*/

Generated on Sat Mar 20 02:38:43 2004 for Libcroco by doxygen 1.3.5