src/include/smbios_c/obj/memory.h File Reference

#include "smbios_c/compat.h"
#include "smbios_c/types.h"
Include dependency graph for memory.h:

Go to the source code of this file.

Defines

#define MEMORY_DEFAULTS   0x0000
#define MEMORY_GET_SINGLETON   0x0001
#define MEMORY_GET_NEW   0x0002
#define MEMORY_UNIT_TEST_MODE   0x0004
#define MEMORY_NO_ERR_CLEAR   0x0008

Functions

DLL_SPEC struct memory_access_obj * memory_obj_factory (int flags,...)
DLL_SPEC void memory_obj_free (struct memory_access_obj *)
DLL_SPEC int memory_obj_read (const struct memory_access_obj *, void *buffer, u64 offset, size_t length)
DLL_SPEC int memory_obj_write (const struct memory_access_obj *, void *buffer, u64 offset, size_t length)
DLL_SPEC const char * memory_obj_strerror (const struct memory_access_obj *m)
DLL_SPEC s64 memory_obj_search (const struct memory_access_obj *, const char *pat, size_t patlen, u64 start, u64 end, u64 stride)
DLL_SPEC void memory_obj_suggest_leave_open (struct memory_access_obj *)
DLL_SPEC void memory_obj_suggest_close (struct memory_access_obj *)
DLL_SPEC bool memory_obj_should_close (const struct memory_access_obj *)

Define Documentation

#define MEMORY_DEFAULTS   0x0000
#define MEMORY_GET_NEW   0x0002
#define MEMORY_GET_SINGLETON   0x0001
#define MEMORY_NO_ERR_CLEAR   0x0008
#define MEMORY_UNIT_TEST_MODE   0x0004

Function Documentation

DLL_SPEC struct memory_access_obj* memory_obj_factory ( int  flags,
  ... 
) [read]
DLL_SPEC void memory_obj_free ( struct memory_access_obj *   ) 
DLL_SPEC int memory_obj_read ( const struct memory_access_obj *  ,
void *  buffer,
u64  offset,
size_t  length 
)
DLL_SPEC s64 memory_obj_search ( const struct memory_access_obj *  ,
const char *  pat,
size_t  patlen,
u64  start,
u64  end,
u64  stride 
)
DLL_SPEC bool memory_obj_should_close ( const struct memory_access_obj *   ) 
DLL_SPEC const char* memory_obj_strerror ( const struct memory_access_obj *  m  ) 
DLL_SPEC void memory_obj_suggest_close ( struct memory_access_obj *   ) 
DLL_SPEC void memory_obj_suggest_leave_open ( struct memory_access_obj *   ) 
DLL_SPEC int memory_obj_write ( const struct memory_access_obj *  ,
void *  buffer,
u64  offset,
size_t  length 
)
Generated on Wed Jul 28 08:16:01 2010 for libsmbios_c library by  doxygen 1.6.3