Lines Matching defs:mprops
145 create_method_info(const inetd_prop_t *mprops, boolean_t *exec_invalid)
154 if ((i = wordexp(get_prop_value_string(mprops, PR_EXEC_NAME),
167 if (mprops[MP_ARG0].ip_error == IVE_VALID) { /* arg0 is set */
175 strdup(get_prop_value_string(mprops, PR_ARG0_NAME)))
180 if (mprops[MP_TIMEOUT].ip_error == IVE_VALID) {
181 ret->timeout = get_prop_value_count(mprops,
354 * For each method, if it was specifed convert its entry in 'mprops',
359 create_method_infos(const char *fmri, inetd_prop_t **mprops,
370 if (mprops[i][MP_EXEC].ip_error == IVE_VALID) {
373 if ((mis[i] = create_method_info(mprops[i],
442 destroy_inst_props(inetd_prop_t *bprops, inetd_prop_t **mprops)
448 destroy_method_props(mprops[i]);
453 * tables, into the spaces referenced by 'bprops' and 'mprops' respectively.
461 inetd_prop_t **mprops, scf_error_t *err)
471 if ((mprops[i] =
475 destroy_method_props(mprops[i]);
494 valid_inst_props(const char *fmri, inetd_prop_t *bprops, inetd_prop_t **mprops,
529 for (j = 0; mprops[i][j].ip_name != NULL; j++) {
530 if (mprops[i][j].ip_error != IVE_UNSET)
534 if (mprops[i][j].ip_name == NULL) {
542 } else if (mprops[i][MP_EXEC].ip_error == IVE_UNSET) {
579 inetd_prop_t *mprops[NUM_METHODS];
592 if (read_inst_props(fmri, &bprops, mprops, &err) == 0)
610 if ((!valid_inst_props(fmri, bprops, mprops, &ret->basic)) ||
612 (create_method_infos(fmri, mprops, ret->methods) != 0)) {
617 destroy_inst_props(bprops, mprops);