Home | History | Annotate | Download | only in wpa_supplicant

Lines Matching refs:array

121  * eap_get_names_as_string_array - Get supported EAP methods as string array
122 * @num: Buffer for returning the number of items in array, not including %NULL
124 * Returns: A %NULL-terminated array of strings, or %NULL on error.
127 * array of strings. The caller must free the returned array items and the
128 * array.
134 char **array;
140 array = os_zalloc(sizeof(char *) * (array_len + 1));
141 if (array == NULL)
145 array[i++] = os_strdup(m->name);
146 if (array[i - 1] == NULL) {
148 os_free(array[j]);
149 os_free(array);
153 array[i] = NULL;
158 return array;