Lines Matching refs:elts

8790  * Create the DOM elements in elts necessary to (generically) represent prop
8796 struct pg_elts *elts, int flags)
8837 if (elts->propvals == NULL)
8838 elts->propvals = n;
8840 (void) xmlAddSibling(elts->propvals, n);
8898 if (elts->properties == NULL)
8899 elts->properties = pnode;
8901 (void) xmlAddSibling(elts->properties, pnode);
8905 * Add a property_group element for this property group to elts.
8911 struct pg_elts elts;
8931 (void) memset(&elts, 0, sizeof (elts));
8956 elts.stability = m;
8963 export_property(exp_prop, NULL, &elts, flags);
8968 (void) xmlAddChild(n, elts.stability);
8969 (void) xmlAddChildList(n, elts.propvals);
8970 (void) xmlAddChildList(n, elts.properties);
8989 struct pg_elts elts;
9088 (void) memset(&elts, 0, sizeof (elts));
9107 elts.stability = m;
9114 export_property(exp_prop, exp_str, &elts, 0);
9119 (void) xmlAddChild(n, elts.stability);
9120 (void) xmlAddChildList(n, elts.propvals);
9121 (void) xmlAddChildList(n, elts.properties);
9199 struct pg_elts elts;
9374 (void) memset(&elts, 0, sizeof (elts));
9392 elts.stability = m;
9419 export_property(exp_prop, exp_str, &elts, 0);
9424 (void) xmlAddChild(n, elts.stability);
9425 (void) xmlAddChildList(n, elts.propvals);
9426 (void) xmlAddChildList(n, elts.properties);
9435 export_pg_elts(struct pg_elts *elts, const char *name, const char *type,
9447 (void) xmlAddChildList(pgnode, elts->propvals);
9448 (void) xmlAddChildList(pgnode, elts->properties);
9463 struct pg_elts elts;
9471 (void) memset(&elts, 0, sizeof (elts));
9535 export_property(exp_prop, exp_str, &elts, 0);
9540 if (elts.propvals != NULL || elts.properties != NULL)
9541 export_pg_elts(&elts, scf_pg_general, scf_group_framework,
9546 export_method_context(scf_propertygroup_t *pg, struct entity_elts *elts)
9631 export_pg(pg, elts, 0);
9635 elts->method_context = n;
10002 export_template(scf_propertygroup_t *pg, struct entity_elts *elts,
10015 export_pg(pg, elts, 0);
10020 export_pg(pg, elts, 0);
10034 export_pg(pg, elts, 0);
10043 struct params_elts *elts)
10059 if (elts->paramval == NULL)
10060 elts->paramval = param;
10062 (void) xmlAddSibling(elts->paramval, param);
10100 if (elts->parameter == NULL)
10101 elts->parameter = param;
10103 (void) xmlAddSibling(elts->parameter, param);
10110 export_notify_params(scf_propertygroup_t *pg, struct entity_elts *elts)
10187 export_pg(pg, elts, 0);
10202 if (elts->notify_params == NULL)
10203 elts->notify_params = n;
10205 (void) xmlAddSibling(elts->notify_params, n);
10213 struct entity_elts *elts)
10256 elts->restarter = rnode;
10270 elts);
10281 struct entity_elts elts;
10327 (void) memset(&elts, 0, sizeof (elts));
10343 export_dependency(exp_pg, &elts);
10346 export_method(exp_pg, &elts);
10354 export_inst_general(exp_pg, n, &elts);
10358 export_method_context(exp_pg, &elts);
10361 export_dependents(exp_pg, &elts);
10365 export_template(exp_pg, &elts, &template_elts);
10368 export_notify_params(exp_pg, &elts);
10373 export_pg(exp_pg, &elts, flags);
10379 elts.template = xmlNewNode(NULL, (xmlChar *)"template");
10380 (void) xmlAddChild(elts.template, template_elts.common_name);
10381 (void) xmlAddChild(elts.template, template_elts.description);
10382 (void) xmlAddChild(elts.template, template_elts.documentation);
10388 if (isdefault && elts.restarter == NULL &&
10389 elts.dependencies == NULL && elts.method_context == NULL &&
10390 elts.exec_methods == NULL && elts.notify_params == NULL &&
10391 elts.property_groups == NULL && elts.template == NULL) {
10409 (void) xmlAddChild(n, elts.restarter);
10410 (void) xmlAddChildList(n, elts.dependencies);
10411 (void) xmlAddChildList(n, elts.dependents);
10412 (void) xmlAddChild(n, elts.method_context);
10413 (void) xmlAddChildList(n, elts.exec_methods);
10414 (void) xmlAddChildList(n, elts.notify_params);
10415 (void) xmlAddChildList(n, elts.property_groups);
10416 (void) xmlAddChild(n, elts.template);
10432 struct entity_elts elts;
10452 (void) memset(&elts, 0, sizeof (elts));
10468 export_dependency(exp_pg, &elts);
10471 export_method(exp_pg, &elts);
10479 export_svc_general(exp_pg, &elts);
10483 export_method_context(exp_pg, &elts);
10486 export_dependents(exp_pg, &elts);
10492 export_template(exp_pg, &elts, &template_elts);
10495 export_notify_params(exp_pg, &elts);
10499 export_pg(exp_pg, &elts, flags);
10505 elts.template = xmlNewNode(NULL, (xmlChar *)"template");
10506 (void) xmlAddChild(elts.template, template_elts.common_name);
10507 (void) xmlAddChild(elts.template, template_elts.description);
10508 (void) xmlAddChild(elts.template, template_elts.documentation);
10519 export_instance(exp_inst, &elts, flags);
10524 (void) xmlAddChild(snode, elts.create_default_instance);
10525 (void) xmlAddChild(snode, elts.single_instance);
10526 (void) xmlAddChild(snode, elts.restarter);
10527 (void) xmlAddChildList(snode, elts.dependencies);
10528 (void) xmlAddChildList(snode, elts.dependents);
10529 (void) xmlAddChild(snode, elts.method_context);
10530 (void) xmlAddChildList(snode, elts.exec_methods);
10531 (void) xmlAddChildList(snode, elts.notify_params);
10532 (void) xmlAddChildList(snode, elts.property_groups);
10533 (void) xmlAddChildList(snode, elts.instances);
10534 (void) xmlAddChild(snode, elts.stability);
10535 (void) xmlAddChild(snode, elts.template);