Lines Matching defs:blob
1854 struct wpa_config_blob *blob, *prevblob;
1874 blob = config->blobs;
1876 while (blob) {
1877 prevblob = blob;
1878 blob = blob->next;
2526 * wpa_config_get_blob - Get a named configuration blob
2528 * @name: Name of the blob
2529 * Returns: Pointer to blob data or %NULL if not found
2534 struct wpa_config_blob *blob = config->blobs;
2536 while (blob) {
2537 if (os_strcmp(blob->name, name) == 0)
2538 return blob;
2539 blob = blob->next;
2546 * wpa_config_set_blob - Set or add a named configuration blob
2548 * @blob: New value for the blob
2550 * Adds a new configuration blob or replaces the current value of an existing
2551 * blob.
2554 struct wpa_config_blob *blob)
2556 wpa_config_remove_blob(config, blob->name);
2557 blob->next = config->blobs;
2558 config->blobs = blob;
2563 * wpa_config_free_blob - Free blob data
2564 * @blob: Pointer to blob to be freed
2566 void wpa_config_free_blob(struct wpa_config_blob *blob)
2568 if (blob) {
2569 os_free(blob->name);
2570 os_free(blob->data);
2571 os_free(blob);
2577 * wpa_config_remove_blob - Remove a named configuration blob
2579 * @name: Name of the blob to remove
2580 * Returns: 0 if blob was removed or -1 if blob was not found