00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
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