H A D | scf_tmpl.c | 4949 * Allocate a new scf_tmpl_error_t and add it to the errs list provided. 4954 _create_error(scf_tmpl_errors_t *errs) argument 4959 assert(errs != NULL); 4966 ret->te_errs = errs; 4968 assert(errs->tes_num_errs <= errs->tes_errs_size); 4969 if (errs->tes_num_errs == errs->tes_errs_size) { 4971 saved_errs = errs->tes_errs; 4972 errs 5051 _scf_tmpl_error_set_prefix(scf_tmpl_errors_t *errs, const char *prefix) argument 5071 _scf_tmpl_add_error(scf_tmpl_errors_t *errs, scf_tmpl_error_type_t type, const char *pg_name, const char *prop_name, const char *ev1, const char *ev2, const char *actual, const char *tmpl_fmri, const char *tmpl_pg_name, const char *tmpl_pg_type, const char *tmpl_prop_name, const char *tmpl_prop_type) argument 5143 _add_tmpl_missing_pg_error(scf_tmpl_errors_t *errs, scf_pg_tmpl_t *t) argument 5194 _add_tmpl_wrong_pg_type_error(scf_tmpl_errors_t *errs, scf_pg_tmpl_t *t, scf_propertygroup_t *pg) argument 5248 _add_tmpl_missing_prop_error(scf_tmpl_errors_t *errs, scf_pg_tmpl_t *t, scf_propertygroup_t *pg, const scf_prop_tmpl_t *pt) argument 5318 _add_tmpl_wrong_prop_type_error(scf_tmpl_errors_t *errs, scf_propertygroup_t *pg, const scf_prop_tmpl_t *pt, scf_property_t *prop) argument 5396 _add_tmpl_count_error(scf_tmpl_errors_t *errs, scf_tmpl_error_type_t type, scf_propertygroup_t *pg, const scf_prop_tmpl_t *pt, scf_property_t *prop, uint64_t count, uint64_t *min, uint64_t *max) argument 5505 _add_tmpl_constraint_error(scf_tmpl_errors_t *errs, scf_tmpl_error_type_t type, scf_propertygroup_t *pg, const scf_prop_tmpl_t *pt, scf_property_t *prop, scf_value_t *val) argument 5596 _add_tmpl_int_error(scf_tmpl_errors_t *errs, scf_tmpl_error_type_t type, scf_propertygroup_t *pg, const scf_prop_tmpl_t *pt, scf_property_t *prop, int64_t val, int64_t *min, int64_t *max) argument 5705 _add_tmpl_pg_redefine_error(scf_tmpl_errors_t *errs, scf_pg_tmpl_t *t, scf_pg_tmpl_t *r) argument 5800 _value_in_constraint(scf_propertygroup_t *pg, scf_property_t *prop, const scf_prop_tmpl_t *pt, scf_value_t *value, scf_tmpl_errors_t *errs) argument 5992 scf_tmpl_value_in_constraint(const scf_prop_tmpl_t *pt, scf_value_t *value, scf_tmpl_errors_t **errs) argument 6013 scf_tmpl_next_error(scf_tmpl_errors_t *errs) argument 6024 scf_tmpl_reset_errors(scf_tmpl_errors_t *errs) argument 6088 _validate_cardinality(scf_propertygroup_t *pg, scf_prop_tmpl_t *pt, scf_property_t *prop, scf_tmpl_errors_t *errs) argument 6176 _check_property(scf_prop_tmpl_t *pt, scf_propertygroup_t *pg, scf_property_t *prop, scf_tmpl_errors_t *errs) argument 6303 _check_pg(scf_pg_tmpl_t *t, scf_propertygroup_t *pg, char *pg_name, char *type, scf_tmpl_errors_t *errs) argument 6500 _scf_tmpl_check_pg_redef(scf_handle_t *h, const char *fmri, const char *snapname, scf_tmpl_errors_t *errs) argument 6640 scf_tmpl_validate_fmri(scf_handle_t *h, const char *fmri, const char *snapshot, scf_tmpl_errors_t **errs, int flags) argument 6853 scf_tmpl_errors_destroy(scf_tmpl_errors_t *errs) argument [all...] |