/usr/src/packages/BUILD/libsmbios-2.2.27/src/include/smbios_c/obj/memory.h File Reference

#include "smbios_c/compat.h"
#include "smbios_c/types.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

LIBSMBIOS_C_DLL_SPEC struct
memory_access_obj * 
memory_obj_factory (int flags,...)
LIBSMBIOS_C_DLL_SPEC void memory_obj_free (struct memory_access_obj *)
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 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 void memory_obj_suggest_leave_open (struct memory_access_obj *)
LIBSMBIOS_C_DLL_SPEC void memory_obj_suggest_close (struct memory_access_obj *)
LIBSMBIOS_C_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

LIBSMBIOS_C_DLL_SPEC struct memory_access_obj* memory_obj_factory int  flags,
  ...
 

LIBSMBIOS_C_DLL_SPEC void memory_obj_free struct memory_access_obj *   ) 
 

LIBSMBIOS_C_DLL_SPEC int memory_obj_read const struct memory_access_obj *  ,
void *  buffer,
u64  offset,
size_t  length
 

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 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 void memory_obj_suggest_close struct memory_access_obj *   ) 
 

LIBSMBIOS_C_DLL_SPEC void memory_obj_suggest_leave_open struct memory_access_obj *   ) 
 

LIBSMBIOS_C_DLL_SPEC int memory_obj_write const struct memory_access_obj *  ,
void *  buffer,
u64  offset,
size_t  length
 


Generated on Fri Apr 29 20:53:42 2011 for libsmbios_c library by  doxygen 1.4.6