Lines Matching defs:blob
2537 struct wpa_config_blob *blob, *prev;
2539 blob = config->blobs;
2541 while (blob) {
2542 prev = blob;
2543 blob = blob->next;
3781 * wpa_config_get_blob - Get a named configuration blob
3783 * @name: Name of the blob
3784 * Returns: Pointer to blob data or %NULL if not found
3789 struct wpa_config_blob *blob = config->blobs;
3791 while (blob) {
3792 if (os_strcmp(blob->name, name) == 0)
3793 return blob;
3794 blob = blob->next;
3801 * wpa_config_set_blob - Set or add a named configuration blob
3803 * @blob: New value for the blob
3805 * Adds a new configuration blob or replaces the current value of an existing
3806 * blob.
3809 struct wpa_config_blob *blob)
3811 wpa_config_remove_blob(config, blob->name);
3812 blob->next = config->blobs;
3813 config->blobs = blob;
3818 * wpa_config_free_blob - Free blob data
3819 * @blob: Pointer to blob to be freed
3821 void wpa_config_free_blob(struct wpa_config_blob *blob)
3823 if (blob) {
3824 os_free(blob->name);
3825 bin_clear_free(blob->data, blob->len);
3826 os_free(blob);
3832 * wpa_config_remove_blob - Remove a named configuration blob
3834 * @name: Name of the blob to remove
3835 * Returns: 0 if blob was removed or -1 if blob was not found