prt
prt(tms.tms_cutime);
prt(tms.tms_cstime);
print_template_value_details(scf_prop_tmpl_t *prt, const char *val_buf,
if (scf_tmpl_value_common_name(prt, NULL, val_buf, &buf) > 0) {
if (scf_tmpl_value_description(prt, NULL, val_buf, &buf) > 0) {
print_template_value(scf_prop_tmpl_t *prt, const char *val_buf)
print_template_value_details(prt, val_buf, 1);
print_template_constraints(scf_prop_tmpl_t *prt, int verbose)
if (scf_tmpl_value_name_constraints(prt, &values) == 0) {
print_template_value_details(prt,
if (scf_tmpl_value_count_range_constraints(prt, &c_ranges) == 0) {
scf_tmpl_value_int_range_constraints(prt, &i_ranges) == 0) {
print_template_choices(scf_prop_tmpl_t *prt, int verbose)
if (scf_tmpl_value_name_choices(prt, &values) == 0) {
print_template_value_details(prt,
if (scf_tmpl_value_count_range_choices(prt, &c_ranges) == 0) {
scf_tmpl_value_int_range_choices(prt, &i_ranges) == 0) {
list_values_by_template(scf_prop_tmpl_t *prt)
print_template_constraints(prt, 1);
print_template_choices(prt, 1);
list_values_tmpl(scf_prop_tmpl_t *prt, scf_property_t *prop)
print_template_value(prt, val_buf);
print_template_constraints(prt, 0);
print_template_choices(prt, 0);
list_prop_tmpl(scf_prop_tmpl_t *prt, scf_property_t *prop, int templates)
if (prt == NULL || templates == 0)
if (scf_tmpl_prop_name(prt, &buf) > 0) {
if ((buf = _scf_read_tmpl_prop_type_as_string(prt)) != NULL) {
if (templates == 2 && scf_tmpl_prop_required(prt, &u_buf) == 0)
if (templates == 2 && scf_tmpl_prop_common_name(prt, NULL, &buf) > 0) {
if (templates == 2 && scf_tmpl_prop_units(prt, NULL, &buf) > 0) {
if (scf_tmpl_prop_description(prt, NULL, &buf) > 0) {
if (templates == 2 && scf_tmpl_prop_visibility(prt, &u_buf) == 0)
if (templates == 2 && scf_tmpl_prop_cardinality(prt, &min, &max) == 0) {
if (templates == 2 && scf_tmpl_prop_internal_seps(prt, &values) == 0) {
list_values_tmpl(prt, prop);
list_values_by_template(prt);
scf_prop_tmpl_t *prt;
(prt = scf_tmpl_prop_create(g_hndl)) == NULL)
scf_tmpl_prop_reset(prt);
while (scf_tmpl_iter_props(pgt, prt, 0) == 0) {
prop_name_size = scf_tmpl_prop_name(prt, &prop_name);
list_prop_tmpl(prt, NULL, templates);
scf_tmpl_prop_destroy(prt);
scf_prop_tmpl_t *prt;
(prt = scf_tmpl_prop_create(g_hndl)) == NULL ||
prt, 0) < 0) {
tmpls[i] = prt;
prt = scf_tmpl_prop_create(g_hndl);
scf_tmpl_prop_destroy(prt);
prt = (scf_prop_tmpl_t *)tmpls[i];
list_prop_tmpl(prt, prop, templates);
if (prt != NULL)
scf_tmpl_prop_destroy(prt);
scf_prop_tmpl_t *prt;
(prt = scf_tmpl_prop_create(g_hndl)) == NULL ||
scf_tmpl_get_by_prop(pgt, propname, prt,
scf_tmpl_prop_type(prt, ¤t_ty) == 0) {
scf_tmpl_prop_destroy(prt);
scf_prop_tmpl_t *prt;
(prt = scf_tmpl_prop_create(h)) == NULL ||
(scf_tmpl_get_by_prop(pt, prop_name_buf, prt,
scf_tmpl_prop_visibility(prt, &vis) != -1 &&
if (tmpl == 1 && scf_tmpl_prop_description(prt, NULL,
scf_tmpl_prop_destroy(prt);
} prt;