27#define MEMORY_DEFAULTS 0x0000
28#define MEMORY_GET_SINGLETON 0x0001
29#define MEMORY_GET_NEW 0x0002
30#define MEMORY_UNIT_TEST_MODE 0x0004
31#define MEMORY_NO_ERR_CLEAR 0x0008
33struct memory_access_obj;
#define LIBSMBIOS_C_DLL_SPEC
Definition compat.h:48
#define EXTERN_C_BEGIN
Definition compat.h:55
#define EXTERN_C_END
Definition compat.h:56
LIBSMBIOS_C_DLL_SPEC void memory_obj_suggest_leave_open(struct memory_access_obj *)
LIBSMBIOS_C_DLL_SPEC void memory_obj_free(struct memory_access_obj *)
LIBSMBIOS_C_DLL_SPEC bool memory_obj_should_close(const struct memory_access_obj *)
LIBSMBIOS_C_DLL_SPEC const char * memory_obj_strerror(const struct memory_access_obj *m)
LIBSMBIOS_C_DLL_SPEC s64 memory_obj_search(const struct memory_access_obj *, const char *pat, size_t patlen, u64 start, u64 end, u64 stride)
LIBSMBIOS_C_DLL_SPEC int memory_obj_read(const struct memory_access_obj *, void *buffer, u64 offset, size_t length)
LIBSMBIOS_C_DLL_SPEC int memory_obj_write(const struct memory_access_obj *, void *buffer, u64 offset, size_t length)
LIBSMBIOS_C_DLL_SPEC void memory_obj_suggest_close(struct memory_access_obj *)
LIBSMBIOS_C_DLL_SPEC struct memory_access_obj * memory_obj_factory(int flags,...)