Lines Matching refs:class
205 static int pool_xml_elem_wrap(xmlNodePtr node, pool_elem_class_t class,
1321 * class.
1326 pool_elem_class_t class, pool_resource_elem_class_t res_class,
1331 pe->pe_class = class;
1345 if (class == PEC_POOL) {
1350 if (class == PEC_RES_COMP || class == PEC_RES_AGG) {
1359 * class.
1363 pool_xml_elem_wrap(xmlNodePtr node, pool_elem_class_t class,
1370 switch (class) {
1401 pool_xml_elem_init(conf, elem, class, res_class, comp_class);
1473 * sub-type of the supplied class.
1477 pool_xml_elem_create(pool_conf_t *conf, pool_elem_class_t class,
1481 /* In XML terms, create an element of the appropriate class */
1486 if (class == PEC_INVALID) {
1493 * If we know the class of an element, we know it's parent.
1500 switch (class) {
1517 BAD_CAST element_class_tags[class])) == NULL) {
1540 BAD_CAST element_class_tags[class])) == NULL) {
1553 BAD_CAST element_class_tags[class])) == NULL) {
1563 pool_xml_elem_init(conf, elem, class, res_class, comp_class);
1565 if (class == PEC_RES_COMP || class == PEC_RES_AGG ||
1566 class == PEC_COMP) {
1584 if (class == PEC_POOL) {
2174 * - For each class work out if the props are attributes or not
2175 * - Build up a piece of XPath for each class
2260 pool_elem_class_t class, pool_value_t *props[], char_buf_t *cb, int is_ref)
2290 (void) append_char_buf(cb, element_class_tags[class]);
2312 if ((prefix = is_a_known_prefix(class, prop_name)) != NULL) {
2323 element_class_tags[class], attr_name)) {
2326 if (class == PEC_RES_COMP ||
2327 class == PEC_RES_AGG ||
2328 class == PEC_COMP) {