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;
9639 (void) memset(&elts, 0, sizeof (elts));
9657 elts.stability = m;
9685 export_property(exp_prop, exp_str, &elts, SCE_ALL_VALUES);
9690 (void) xmlAddChild(n, elts.stability);
9691 (void) xmlAddChildList(n, elts.propvals);
9692 (void) xmlAddChildList(n, elts.properties);
9701 export_pg_elts(struct pg_elts *elts, const char *name, const char *type,
9713 (void) xmlAddChildList(pgnode, elts->propvals);
9714 (void) xmlAddChildList(pgnode, elts->properties);
9729 struct pg_elts elts;
9737 (void) memset(&elts, 0, sizeof (elts));
9801 export_property(exp_prop, exp_str, &elts, SCE_ALL_VALUES);
9806 if (elts.propvals != NULL || elts.properties != NULL)
9807 export_pg_elts(&elts, scf_pg_general, scf_group_framework,
9812 export_method_context(scf_propertygroup_t *pg, struct entity_elts *elts)
9901 export_pg(pg, elts, SCE_ALL_VALUES);
9905 elts->method_context = n;
10279 export_template(scf_propertygroup_t *pg, struct entity_elts *elts,
10292 export_pg(pg, elts, SCE_ALL_VALUES);
10297 export_pg(pg, elts, SCE_ALL_VALUES);
10311 export_pg(pg, elts, SCE_ALL_VALUES);
10320 struct params_elts *elts)
10336 if (elts->paramval == NULL)
10337 elts->paramval = param;
10339 (void) xmlAddSibling(elts->paramval, param);
10377 if (elts->parameter == NULL)
10378 elts->parameter = param;
10380 (void) xmlAddSibling(elts->parameter, param);
10387 export_notify_params(scf_propertygroup_t *pg, struct entity_elts *elts)
10464 export_pg(pg, elts, SCE_ALL_VALUES);
10479 if (elts->notify_params == NULL)
10480 elts->notify_params = n;
10482 (void) xmlAddSibling(elts->notify_params, n);
10490 struct entity_elts *elts)
10533 elts->restarter = rnode;
10547 elts);
10558 struct entity_elts elts;
10604 (void) memset(&elts, 0, sizeof (elts));
10620 export_dependency(exp_pg, &elts);
10623 export_method(exp_pg, &elts);
10631 export_inst_general(exp_pg, n, &elts);
10635 export_method_context(exp_pg, &elts);
10638 export_dependents(exp_pg, &elts);
10642 export_template(exp_pg, &elts, &template_elts);
10645 export_notify_params(exp_pg, &elts);
10650 export_pg(exp_pg, &elts, flags);
10656 elts.template = xmlNewNode(NULL, (xmlChar *)"template");
10657 (void) xmlAddChild(elts.template, template_elts.common_name);
10658 (void) xmlAddChild(elts.template, template_elts.description);
10659 (void) xmlAddChild(elts.template, template_elts.documentation);
10665 if (isdefault && elts.restarter == NULL &&
10666 elts.dependencies == NULL && elts.method_context == NULL &&
10667 elts.exec_methods == NULL && elts.notify_params == NULL &&
10668 elts.property_groups == NULL && elts.template == NULL) {
10686 (void) xmlAddChild(n, elts.restarter);
10687 (void) xmlAddChildList(n, elts.dependencies);
10688 (void) xmlAddChildList(n, elts.dependents);
10689 (void) xmlAddChild(n, elts.method_context);
10690 (void) xmlAddChildList(n, elts.exec_methods);
10691 (void) xmlAddChildList(n, elts.notify_params);
10692 (void) xmlAddChildList(n, elts.property_groups);
10693 (void) xmlAddChild(n, elts.template);
10709 struct entity_elts elts;
10729 (void) memset(&elts, 0, sizeof (elts));
10745 export_dependency(exp_pg, &elts);
10748 export_method(exp_pg, &elts);
10756 export_svc_general(exp_pg, &elts);
10760 export_method_context(exp_pg, &elts);
10763 export_dependents(exp_pg, &elts);
10769 export_template(exp_pg, &elts, &template_elts);
10772 export_notify_params(exp_pg, &elts);
10776 export_pg(exp_pg, &elts, flags);
10782 elts.template = xmlNewNode(NULL, (xmlChar *)"template");
10783 (void) xmlAddChild(elts.template, template_elts.common_name);
10784 (void) xmlAddChild(elts.template, template_elts.description);
10785 (void) xmlAddChild(elts.template, template_elts.documentation);
10796 export_instance(exp_inst, &elts, flags);
10801 (void) xmlAddChild(snode, elts.create_default_instance);
10802 (void) xmlAddChild(snode, elts.single_instance);
10803 (void) xmlAddChild(snode, elts.restarter);
10804 (void) xmlAddChildList(snode, elts.dependencies);
10805 (void) xmlAddChildList(snode, elts.dependents);
10806 (void) xmlAddChild(snode, elts.method_context);
10807 (void) xmlAddChildList(snode, elts.exec_methods);
10808 (void) xmlAddChildList(snode, elts.notify_params);
10809 (void) xmlAddChildList(snode, elts.property_groups);
10810 (void) xmlAddChildList(snode, elts.instances);
10811 (void) xmlAddChild(snode, elts.stability);
10812 (void) xmlAddChild(snode, elts.template);