|
Defines |
#define | TOKEN_TYPE_D4 0xD4 |
#define | TOKEN_TYPE_D5 0xD5 |
#define | TOKEN_TYPE_D6 0xD6 |
#define | TOKEN_TYPE_DA 0xDA |
Functions |
LIBSMBIOS_C_DLL_SPEC const
char * | token_strerror () |
| Returns string describing the last error condition.
|
LIBSMBIOS_C_DLL_SPEC int | token_get_type (u16 id) |
| Return token type.
|
LIBSMBIOS_C_DLL_SPEC bool | token_is_bool (u16 id) |
| Check if a token is a boolean-type token.
|
LIBSMBIOS_C_DLL_SPEC int | token_is_active (u16 id) |
| Check if a boolean token is currently set.
|
LIBSMBIOS_C_DLL_SPEC int | token_activate (u16 id) |
| Activate a boolean token.
|
LIBSMBIOS_C_DLL_SPEC bool | token_is_string (u16 id) |
| Check if a token is a string-type token.
|
LIBSMBIOS_C_DLL_SPEC char * | token_get_string (u16 id, size_t *len) |
| Get a new buffer containing the token string value.
|
LIBSMBIOS_C_DLL_SPEC int | token_set_string (u16 id, const char *value, size_t size) |
| Set a string token value.
|
LIBSMBIOS_C_DLL_SPEC void | token_string_free (char *) |
| Free allocated memory.
|
LIBSMBIOS_C_DLL_SPEC const
struct smbios_struct * | token_get_smbios_struct (u16 id) |
| Get a pointer to the smbios struct containing this token.
|
LIBSMBIOS_C_DLL_SPEC const
void * | token_get_ptr (u16 id) |
| Get a pointer to the actual token structure.
|
LIBSMBIOS_C_DLL_SPEC int | token_try_password (u16 id, const char *pass_ascii, const char *pass_scancode) |
| For tokens that are password protected, check password.
|