Lines Matching full:blob
52 struct wpa_config_blob *blob;
93 wpa_printf(MSG_MSGDUMP, "blob %d: field='%s' len %d",
96 blob = os_zalloc(sizeof(*blob));
97 if (blob == NULL) {
101 blob->name = os_strdup((char *) name);
102 blob->data = os_malloc(datalen);
103 if (blob->name == NULL || blob->data == NULL) {
104 wpa_config_free_blob(blob);
108 os_memcpy(blob->data, data, datalen);
109 blob->len = datalen;
111 wpa_config_set_blob(config, blob);
948 static int wpa_config_write_blob(HKEY hk, struct wpa_config_blob *blob)
963 name = wpa_strdup_tchar(blob->name);
964 ret = RegSetValueEx(bhk, name, 0, REG_BINARY, blob->data,
965 blob->len);
967 wpa_printf(MSG_ERROR, "WINREG: Failed to set blob %s': "
968 "error 0x%x (%d)", blob->name, (unsigned int) ret,
989 struct wpa_config_blob *blob;
1023 for (blob = config->blobs; blob; blob = blob->next) {
1024 if (wpa_config_write_blob(hk, blob))