Lines Matching refs:val

212 	nwam_value_t val = NULL;
222 if ((err = nwam_value_create_uint64(NWAM_ACTIVATION_MODE_MANUAL, &val))
226 NWAM_LOC_PROP_ACTIVATION_MODE, val)) != NWAM_SUCCESS)
228 nwam_value_free(val);
229 val = NULL;
234 if ((err = nwam_value_create_boolean(B_FALSE, &val)) != NWAM_SUCCESS)
237 NWAM_LOC_PROP_ENABLED, val)) != NWAM_SUCCESS)
239 nwam_value_free(val);
240 val = NULL;
246 if ((err = nwam_value_create_uint64(NWAM_NAMESERVICES_DNS, &val)) !=
250 NWAM_LOC_PROP_NAMESERVICES, val)) != NWAM_SUCCESS)
252 nwam_value_free(val);
253 val = NULL;
255 if ((err = nwam_value_create_uint64(NWAM_CONFIGSRC_DHCP, &val)) !=
259 NWAM_LOC_PROP_DNS_NAMESERVICE_CONFIGSRC, val)) != NWAM_SUCCESS)
261 nwam_value_free(val);
262 val = NULL;
270 if ((err = nwam_value_create_string(nsswitch, &val)) != NWAM_SUCCESS)
273 NWAM_LOC_PROP_NAMESERVICES_CONFIG_FILE, val);
278 if (val != NULL)
279 nwam_value_free(val);
689 nwam_value_t val = NULL;
702 if ((err = nwam_value_create_string(addr, &val))
705 if ((err = nwam_valid_host_any(val)) != NWAM_SUCCESS)
707 nwam_value_free(val);
708 val = NULL;
712 if ((err = nwam_value_create_string(copy, &val))
715 if ((err = nwam_valid_host_any(val)) != NWAM_SUCCESS)
717 nwam_value_free(val);
718 val = NULL;
726 nwam_value_free(val);
819 nwam_value_t val;
824 NWAM_LOC_PROP_LDAP_NAMESERVICE_CONFIGSRC, &val) != NWAM_SUCCESS) {
830 if (nwam_value_get_uint64_array(val, &configsrcs, &numvalues)
834 nwam_value_free(val);
844 nwam_value_free(val);
848 nwam_value_free(val);
852 NWAM_LOC_PROP_DEFAULT_DOMAIN, &val) != NWAM_SUCCESS) {
857 nwam_value_free(val);
860 NWAM_LOC_PROP_LDAP_NAMESERVICE_SERVERS, &val) != NWAM_SUCCESS) {
865 nwam_value_free(val);
888 nwam_value_t val;
902 NWAM_LOC_PROP_NAMESERVICES_CONFIG_FILE, &val)
909 nwam_value_free(val);
917 NWAM_LOC_PROP_NAMESERVICES_CONFIG_FILE, &val);
935 if ((err = nwam_value_create_string(nsswitch, &val))
942 NWAM_LOC_PROP_NAMESERVICES_CONFIG_FILE, val);
944 nwam_value_free(val);
946 nwam_value_free(val);
952 nwam_value_free(val);
1142 nwam_value_t val;
1157 NWAM_LOC_PROP_ACTIVATION_MODE, &val)) != NWAM_SUCCESS)
1159 err = nwam_loc_validate_activation_mode(*newlochp, val);
1160 nwam_value_free(val);
1163 &val)) != NWAM_SUCCESS)
1166 NWAM_LOC_PROP_ACTIVATION_MODE, val);
1167 nwam_value_free(val);
1171 if ((err = nwam_value_create_boolean(B_FALSE, &val))
1175 NWAM_LOC_PROP_ENABLED, val);
1176 nwam_value_free(val);