#include <stdio.h>
#include <glib.h>
#include "cr-utils.h"
Go to the source code of this file.
Data Structures | |
struct | _CRAttrSel |
Typedefs | |
typedef _CRAttrSel | CRAttrSel |
Enumerations | |
enum | AttrMatchWay { NO_MATCH = 0, SET, EQUALS, INCLUDES, DASHMATCH } |
Functions | |
CRAttrSel * | cr_attr_sel_new (void) |
The constructor of CRAttrSel. | |
enum CRStatus | cr_attr_sel_append_attr_sel (CRAttrSel *a_this, CRAttrSel *a_new) |
Appends an attribute selector to the current list of attribute selectors represented by a_this. | |
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. | |
guchar * | cr_attr_sel_to_string (CRAttrSel *a_this) |
void | cr_attr_sel_dump (CRAttrSel *a_this, FILE *a_fp) |
Dumps the current instance of CRAttrSel to a file. | |
void | cr_attr_sel_destroy (CRAttrSel *a_this) |
Destroys the current instance of CRAttrSel. | |
Variables | |
G_BEGIN_DECLS struct | _CRAttrSel |
|
Definition at line 38 of file cr-attr-sel.h. |
|
Definition at line 40 of file cr-attr-sel.h. |
|
Appends an attribute selector to the current list of attribute selectors represented by a_this.
Definition at line 63 of file cr-attr-sel.c. References CR_BAD_PARAM_ERROR, CR_OK, _CRAttrSel::next, and _CRAttrSel::prev. |
|
Destroys the current instance of CRAttrSel. Frees all the fields if they are non null.
Definition at line 212 of file cr-attr-sel.c. References _CRAttrSel::name, _CRAttrSel::next, and _CRAttrSel::value. Referenced by cr_additional_sel_destroy(), and cr_additional_sel_set_attr_sel(). |
|
Dumps the current instance of CRAttrSel to a file.
Definition at line 188 of file cr-attr-sel.c. References cr_attr_sel_to_string(). |
|
The constructor of CRAttrSel.
Definition at line 45 of file cr-attr-sel.c. |
|
Prepends an attribute selector to the list of attributes selector represented by a_this.
Definition at line 88 of file cr-attr-sel.c. References CR_BAD_PARAM_ERROR, CR_OK, and _CRAttrSel::prev. |
|
Definition at line 99 of file cr-attr-sel.c. References DASHMATCH, EQUALS, INCLUDES, _CRAttrSel::match_way, name, _CRAttrSel::name, _CRAttrSel::next, _CRAttrSel::prev, SET, and _CRAttrSel::value. Referenced by cr_additional_sel_to_string(), and cr_attr_sel_dump(). |
|
Definition at line 37 of file cr-attr-sel.h. |