scf_pg_tmpl_t
list_pg_tmpl(scf_pg_tmpl_t *pgt, scf_propertygroup_t *pg, int templates)
scf_pg_tmpl_t *pgt;
scf_pg_tmpl_t *pgt, *pgtp;
pgt = (scf_pg_tmpl_t *)tmpls[i];
scf_pg_tmpl_t *pgt;
scf_pg_tmpl_t *t_pg = NULL;
scf_pg_tmpl_t *t_pg = NULL;
scf_pg_tmpl_t *pt;
scf_pg_tmpl_t *prt_t;
scf_tmpl_get_by_pg(scf_propertygroup_t *pg, scf_pg_tmpl_t *pg_tmpl, int flags)
_scf_tmpl_get_fmri(const scf_pg_tmpl_t *t)
const char *pg_name, const char *pg_type, scf_pg_tmpl_t *pg_tmpl, int flags)
_get_svc_or_inst_iter(scf_handle_t *h, scf_pg_tmpl_t *t)
_get_next_iterator(scf_handle_t *h, scf_pg_tmpl_t *t, const char *snapshot,
scf_pg_tmpl_t *
scf_pg_tmpl_t *pg_tmpl = NULL;
pg_tmpl = calloc(1, sizeof (scf_pg_tmpl_t));
scf_tmpl_iter_pgs(scf_pg_tmpl_t *t, const char *fmri, const char *snapshot,
scf_pg_tmpl_t *pg_tmpl = NULL;
scf_tmpl_pg_destroy(scf_pg_tmpl_t *t)
scf_tmpl_pg_reset(scf_pg_tmpl_t *t)
scf_tmpl_get_by_prop(scf_pg_tmpl_t *t, const char *prop,
scf_tmpl_iter_props(scf_pg_tmpl_t *t, scf_prop_tmpl_t *pt, int flags)
scf_tmpl_pg_name(const scf_pg_tmpl_t *t, char **out)
scf_tmpl_pg_common_name(const scf_pg_tmpl_t *t, const char *locale, char **out)
scf_tmpl_pg_description(const scf_pg_tmpl_t *t, const char *locale, char **out)
scf_tmpl_pg_type(const scf_pg_tmpl_t *t, char **out)
scf_tmpl_pg_required(const scf_pg_tmpl_t *t, uint8_t *out)
scf_tmpl_pg_target(const scf_pg_tmpl_t *t, char **out)
_add_tmpl_missing_pg_error(scf_tmpl_errors_t *errs, scf_pg_tmpl_t *t)
_add_tmpl_wrong_pg_type_error(scf_tmpl_errors_t *errs, scf_pg_tmpl_t *t,
_add_tmpl_missing_prop_error(scf_tmpl_errors_t *errs, scf_pg_tmpl_t *t,
_add_tmpl_pg_redefine_error(scf_tmpl_errors_t *errs, scf_pg_tmpl_t *t,
scf_pg_tmpl_t *r)
_check_pg(scf_pg_tmpl_t *t, scf_propertygroup_t *pg, char *pg_name,
scf_pg_tmpl_t *t = NULL;
scf_pg_tmpl_t *r = NULL;
scf_pg_tmpl_t *t = NULL;
_tmpl_prop_name(const char *prop, scf_pg_tmpl_t *t)
scf_pg_tmpl_t *scf_tmpl_pg_create(scf_handle_t *);
void scf_tmpl_pg_destroy(scf_pg_tmpl_t *);
void scf_tmpl_pg_reset(scf_pg_tmpl_t *);
int scf_tmpl_get_by_pg(scf_propertygroup_t *, scf_pg_tmpl_t *, int);
const char *, const char *, scf_pg_tmpl_t *, int);
int scf_tmpl_iter_pgs(scf_pg_tmpl_t *, const char *, const char *,
ssize_t scf_tmpl_pg_name(const scf_pg_tmpl_t *, char **);
ssize_t scf_tmpl_pg_common_name(const scf_pg_tmpl_t *, const char *, char **);
ssize_t scf_tmpl_pg_description(const scf_pg_tmpl_t *, const char *, char **);
ssize_t scf_tmpl_pg_type(const scf_pg_tmpl_t *, char **);
ssize_t scf_tmpl_pg_target(const scf_pg_tmpl_t *, char **);
int scf_tmpl_pg_required(const scf_pg_tmpl_t *, uint8_t *);
int scf_tmpl_get_by_prop(scf_pg_tmpl_t *, const char *,
int scf_tmpl_iter_props(scf_pg_tmpl_t *, scf_prop_tmpl_t *, int);