![]() |
![]() |
![]() |
Libcroco Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
struct CRAttrSel; enum CRStatus cr_attr_sel_append_attr_sel (CRAttrSel *a_this
,CRAttrSel *a_attr_sel
); void cr_attr_sel_destroy (CRAttrSel *a_this
); void cr_attr_sel_dump (CRAttrSel const *a_this
,FILE *a_fp
); CRAttrSel * cr_attr_sel_new (void
); enum CRStatus cr_attr_sel_prepend_attr_sel (CRAttrSel *a_this
,CRAttrSel *a_attr_sel
); guchar * cr_attr_sel_to_string (CRAttrSel const *a_this
);
struct CRAttrSel { CRString *name ; CRString *value ; enum AttrMatchWay match_way ; CRAttrSel *next ; CRAttrSel *prev ; CRParsingLocation location ; };
CRAdditionalSel abstracts an attribute selector. Attributes selectors are described in the css2 spec [5.8]. There are more generally used in the css2 selectors described in css2 spec [5] .
enum CRStatus cr_attr_sel_append_attr_sel (CRAttrSel *a_this
,CRAttrSel *a_attr_sel
);
Appends an attribute selector to the current list of attribute selectors represented by a_this.
|
the this pointer of the current instance of CRAttrSel. |
|
selector to append. |
Returns : |
CR_OK upon successfull completion, an error code otherwise. |
void cr_attr_sel_destroy (CRAttrSel *a_this
);
Destroys the current instance of CRAttrSel. Frees all the fields if they are non null.
|
the "this pointer" of the current instance of CRAttrSel. |
void cr_attr_sel_dump (CRAttrSel const *a_this
,FILE *a_fp
);
Dumps the current instance of CRAttrSel to a file.
|
the "this pointer" of the current instance of CRAttrSel. |
|
the destination file. |
enum CRStatus cr_attr_sel_prepend_attr_sel (CRAttrSel *a_this
,CRAttrSel *a_attr_sel
);
Prepends an attribute selector to the list of attributes selector represented by a_this.
|
the "this pointer" of the current instance *of CRAttrSel. |
|
the attribute selector to append. |
Returns : |
CR_OK upon successfull completion, an error code otherwise. |