Lines Matching defs:elts
9047 * Create the DOM elements in elts necessary to (generically) represent prop
9053 struct pg_elts *elts, int flags)
9094 if (elts->propvals == NULL)
9095 elts->propvals = n;
9097 (void) xmlAddSibling(elts->propvals, n);
9155 if (elts->properties == NULL)
9156 elts->properties = pnode;
9158 (void) xmlAddSibling(elts->properties, pnode);
9162 * Add a property_group element for this property group to elts.
9168 struct pg_elts elts;
9188 (void) memset(&elts, 0, sizeof (elts));
9213 elts.stability = m;
9220 export_property(exp_prop, NULL, &elts, flags);
9225 (void) xmlAddChild(n, elts.stability);
9226 (void) xmlAddChildList(n, elts.propvals);
9227 (void) xmlAddChildList(n, elts.properties);
9246 struct pg_elts elts;
9345 (void) memset(&elts, 0, sizeof (elts));
9364 elts.stability = m;
9371 export_property(exp_prop, exp_str, &elts, SCE_ALL_VALUES);
9376 (void) xmlAddChild(n, elts.stability);
9377 (void) xmlAddChildList(n, elts.propvals);
9378 (void) xmlAddChildList(n, elts.properties);
9456 struct pg_elts elts;
9631 (void) memset(&elts, 0, sizeof (elts));
9649 elts.stability = m;
9676 export_property(exp_prop, exp_str, &elts, SCE_ALL_VALUES);
9681 (void) xmlAddChild(n, elts.stability);
9682 (void) xmlAddChildList(n, elts.propvals);
9683 (void) xmlAddChildList(n, elts.properties);
9692 export_pg_elts(struct pg_elts *elts, const char *name, const char *type,
9704 (void) xmlAddChildList(pgnode, elts->propvals);
9705 (void) xmlAddChildList(pgnode, elts->properties);
9720 struct pg_elts elts;
9728 (void) memset(&elts, 0, sizeof (elts));
9792 export_property(exp_prop, exp_str, &elts, SCE_ALL_VALUES);
9797 if (elts.propvals != NULL || elts.properties != NULL)
9798 export_pg_elts(&elts, scf_pg_general, scf_group_framework,
9803 export_method_context(scf_propertygroup_t *pg, struct entity_elts *elts)
9888 export_pg(pg, elts, SCE_ALL_VALUES);
9892 elts->method_context = n;
10266 export_template(scf_propertygroup_t *pg, struct entity_elts *elts,
10279 export_pg(pg, elts, SCE_ALL_VALUES);
10284 export_pg(pg, elts, SCE_ALL_VALUES);
10298 export_pg(pg, elts, SCE_ALL_VALUES);
10307 struct params_elts *elts)
10323 if (elts->paramval == NULL)
10324 elts->paramval = param;
10326 (void) xmlAddSibling(elts->paramval, param);
10364 if (elts->parameter == NULL)
10365 elts->parameter = param;
10367 (void) xmlAddSibling(elts->parameter, param);
10374 export_notify_params(scf_propertygroup_t *pg, struct entity_elts *elts)
10451 export_pg(pg, elts, SCE_ALL_VALUES);
10466 if (elts->notify_params == NULL)
10467 elts->notify_params = n;
10469 (void) xmlAddSibling(elts->notify_params, n);
10477 struct entity_elts *elts)
10520 elts->restarter = rnode;
10534 elts);
10545 struct entity_elts elts;
10591 (void) memset(&elts, 0, sizeof (elts));
10607 export_dependency(exp_pg, &elts);
10610 export_method(exp_pg, &elts);
10618 export_inst_general(exp_pg, n, &elts);
10622 export_method_context(exp_pg, &elts);
10625 export_dependents(exp_pg, &elts);
10629 export_template(exp_pg, &elts, &template_elts);
10632 export_notify_params(exp_pg, &elts);
10637 export_pg(exp_pg, &elts, flags);
10643 elts.template = xmlNewNode(NULL, (xmlChar *)"template");
10644 (void) xmlAddChild(elts.template, template_elts.common_name);
10645 (void) xmlAddChild(elts.template, template_elts.description);
10646 (void) xmlAddChild(elts.template, template_elts.documentation);
10652 if (isdefault && elts.restarter == NULL &&
10653 elts.dependencies == NULL && elts.method_context == NULL &&
10654 elts.exec_methods == NULL && elts.notify_params == NULL &&
10655 elts.property_groups == NULL && elts.template == NULL) {
10673 (void) xmlAddChild(n, elts.restarter);
10674 (void) xmlAddChildList(n, elts.dependencies);
10675 (void) xmlAddChildList(n, elts.dependents);
10676 (void) xmlAddChild(n, elts.method_context);
10677 (void) xmlAddChildList(n, elts.exec_methods);
10678 (void) xmlAddChildList(n, elts.notify_params);
10679 (void) xmlAddChildList(n, elts.property_groups);
10680 (void) xmlAddChild(n, elts.template);
10696 struct entity_elts elts;
10716 (void) memset(&elts, 0, sizeof (elts));
10732 export_dependency(exp_pg, &elts);
10735 export_method(exp_pg, &elts);
10743 export_svc_general(exp_pg, &elts);
10747 export_method_context(exp_pg, &elts);
10750 export_dependents(exp_pg, &elts);
10756 export_template(exp_pg, &elts, &template_elts);
10759 export_notify_params(exp_pg, &elts);
10763 export_pg(exp_pg, &elts, flags);
10769 elts.template = xmlNewNode(NULL, (xmlChar *)"template");
10770 (void) xmlAddChild(elts.template, template_elts.common_name);
10771 (void) xmlAddChild(elts.template, template_elts.description);
10772 (void) xmlAddChild(elts.template, template_elts.documentation);
10783 export_instance(exp_inst, &elts, flags);
10788 (void) xmlAddChild(snode, elts.create_default_instance);
10789 (void) xmlAddChild(snode, elts.single_instance);
10790 (void) xmlAddChild(snode, elts.restarter);
10791 (void) xmlAddChildList(snode, elts.dependencies);
10792 (void) xmlAddChildList(snode, elts.dependents);
10793 (void) xmlAddChild(snode, elts.method_context);
10794 (void) xmlAddChildList(snode, elts.exec_methods);
10795 (void) xmlAddChildList(snode, elts.notify_params);
10796 (void) xmlAddChildList(snode, elts.property_groups);
10797 (void) xmlAddChildList(snode, elts.instances);
10798 (void) xmlAddChild(snode, elts.stability);
10799 (void) xmlAddChild(snode, elts.template);