00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef __CR_PROP_LIST_H__
00023 #define __CR_PROP_LIST_H__
00024
00025 #include "cr-utils.h"
00026 #include "cr-declaration.h"
00027 #include "cr-string.h"
00028
00029 G_BEGIN_DECLS
00030
00031 typedef struct _CRPropList CRPropList ;
00032 typedef struct _CRPropListPriv CRPropListPriv ;
00033
00034 struct _CRPropList
00035 {
00036 CRPropListPriv * priv;
00037 } ;
00038
00039 CRPropList * cr_prop_list_append (CRPropList *a_this,
00040 CRPropList *a_to_append) ;
00041
00042 CRPropList * cr_prop_list_append2 (CRPropList *a_this,
00043 CRString *a_prop,
00044 CRDeclaration *a_decl) ;
00045
00046 CRPropList * cr_prop_list_prepend (CRPropList *a_this,
00047 CRPropList *a_to_append) ;
00048
00049 CRPropList * cr_prop_list_prepend2 (CRPropList *a_this,
00050 CRString *a_prop,
00051 CRDeclaration *a_decl) ;
00052
00053 enum CRStatus cr_prop_list_set_prop (CRPropList *a_this,
00054 CRString *a_prop) ;
00055
00056 enum CRStatus cr_prop_list_get_prop (CRPropList *a_this,
00057 CRString **a_prop) ;
00058
00059 enum CRStatus cr_prop_list_lookup_prop (CRPropList *a_this,
00060 CRString *a_prop,
00061 CRPropList**a_pair) ;
00062
00063 CRPropList * cr_prop_list_get_next (CRPropList *a_this) ;
00064
00065 CRPropList * cr_prop_list_get_prev (CRPropList *a_this) ;
00066
00067 enum CRStatus cr_prop_list_set_decl (CRPropList *a_this,
00068 CRDeclaration *a_decl);
00069
00070 enum CRStatus cr_prop_list_get_decl (CRPropList *a_this,
00071 CRDeclaration **a_decl) ;
00072
00073 CRPropList * cr_prop_list_unlink (CRPropList *a_this,
00074 CRPropList *a_pair) ;
00075
00076 void cr_prop_list_destroy (CRPropList *a_this) ;
00077
00078 G_END_DECLS
00079
00080 #endif