Lines Matching defs:blob
58 struct wpa_config_blob *blob;
99 wpa_printf(MSG_MSGDUMP, "blob %d: field='%s' len %d",
102 blob = os_zalloc(sizeof(*blob));
103 if (blob == NULL) {
107 blob->name = os_strdup((char *) name);
108 blob->data = os_malloc(datalen);
109 if (blob->name == NULL || blob->data == NULL) {
110 wpa_config_free_blob(blob);
114 os_memcpy(blob->data, data, datalen);
115 blob->len = datalen;
117 wpa_config_set_blob(config, blob);
895 static int wpa_config_write_blob(HKEY hk, struct wpa_config_blob *blob)
910 name = wpa_strdup_tchar(blob->name);
911 ret = RegSetValueEx(bhk, name, 0, REG_BINARY, blob->data,
912 blob->len);
914 wpa_printf(MSG_ERROR, "WINREG: Failed to set blob %s': "
915 "error 0x%x (%d)", blob->name, (unsigned int) ret,
936 struct wpa_config_blob *blob;
970 for (blob = config->blobs; blob; blob = blob->next) {
971 if (wpa_config_write_blob(hk, blob))