diff options
| author | Burt P <pburt0@gmail.com> | 2019-07-17 22:44:25 -0500 | 
|---|---|---|
| committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2019-07-29 19:41:44 -0700 | 
| commit | c76abd986b499ee7a0c53a1a7fc9cc6ea041bccd (patch) | |
| tree | c7152277e5fc3fdfd0a21c2d533f7bc476aac781 /includes | |
| parent | 39e61e06d9535adc7b5ef9d3bab15e640a1637f5 (diff) | |
dmi_util: extended handle data type
Signed-off-by: Burt P <pburt0@gmail.com>
Diffstat (limited to 'includes')
| -rw-r--r-- | includes/dmi_util.h | 8 | 
1 files changed, 8 insertions, 0 deletions
| diff --git a/includes/dmi_util.h b/includes/dmi_util.h index d557d58b..bb56c31a 100644 --- a/includes/dmi_util.h +++ b/includes/dmi_util.h @@ -39,8 +39,16 @@ char *dmi_get_str_abs(const char *id_str); /* include nonsense */  char *dmi_chassis_type_str(int chassis_type, gboolean with_val);  typedef struct { +    dmi_handle id; +    uint32_t size; +    dmi_type type; +    const char *type_str; /* untranslated, use _() for translation */ +} dmi_handle_ext; + +typedef struct {      uint32_t count;      dmi_handle *handles; +    dmi_handle_ext *handles_ext;  } dmi_handle_list;  /* get a list of handles that match a dmi_type */ | 
