Name

dmi_walk — Walk the DMI table and get called back for every record

Synopsis

int dmi_walk (void (*decode) (const struct dmi_header *, void *),
 void * private_data);
 

Arguments

void (*)(const struct dmi_header *, void *) decode

Callback function

void * private_data

Private data to be passed to the callback function

Description

Returns -1 when the DMI table can't be reached, 0 on success.