rbu Namespace Reference


Data Structures

class  RbuFactory
 AbstractFactory that produces IRbuHdr objects. More...
class  IRbuHdr
 Interface definition for RBU HDR operations. More...
struct  rbu_packet
struct  rbu_packet_0
struct  rbu_hdr_file_header

Enumerations

enum  packet_type { pt_any, pt_mono, pt_packet, pt_init }
enum  driver_type {
  rbu_unsupported, rbu_linux_v0, rbu_linux_v1, rbu_linux_v2,
  rbu_solaris
}

Functions

 DECLARE_EXCEPTION (RbuException)
 DECLARE_EXCEPTION_EX (RbuNotSupported, rbu, RbuException)
 DECLARE_EXCEPTION_EX (InvalidHdrFile, rbu, RbuException)
 DECLARE_EXCEPTION_EX (UnsupportedSystemForHdrFile, rbu, RbuException)
 DECLARE_EXCEPTION_EX (HdrFileIOError, rbu, RbuException)
 DECLARE_EXCEPTION_EX (RbuDriverIOError, rbu, RbuException)
std::ostream & operator<< (std::ostream &cout, const IRbuHdr &item)
void cancelDellBiosUpdate ()
 Cancel BIOS Update on Dell systems.
bool checkSystemId (const IRbuHdr &hdr, u16 sysId)
 Check to see if a HDR file supports a specific System ID.
void dellBiosUpdate (const IRbuHdr &hdr, packet_type force_type)
 Update BIOS on Dell systems.
int compareBiosVersion (std::string ver1, std::string ver2)
 Compare BIOS Versions.

Variables

const int SYSID_OVERRIDE = 1
const int BIOSVER_OVERRIDE = 2
struct rbu::rbu_packet LIBSMBIOS_PACKED_ATTR
const int NUM_SYS_ID_IN_HDR = 12


Enumeration Type Documentation

Enumerator:
rbu_unsupported 
rbu_linux_v0 
rbu_linux_v1 
rbu_linux_v2 
rbu_solaris 

Enumerator:
pt_any 
pt_mono 
pt_packet 
pt_init 


Function Documentation

void rbu::cancelDellBiosUpdate (  ) 

Cancel BIOS Update on Dell systems.

bool rbu::checkSystemId ( const IRbuHdr &  hdr,
u16  sysId 
)

Check to see if a HDR file supports a specific System ID.

int rbu::compareBiosVersion ( std::string  ver1,
std::string  ver2 
)

Compare BIOS Versions.

rbu::DECLARE_EXCEPTION ( RbuException   ) 

rbu::DECLARE_EXCEPTION_EX ( RbuDriverIOError  ,
rbu  ,
RbuException   
)

rbu::DECLARE_EXCEPTION_EX ( HdrFileIOError  ,
rbu  ,
RbuException   
)

rbu::DECLARE_EXCEPTION_EX ( UnsupportedSystemForHdrFile  ,
rbu  ,
RbuException   
)

rbu::DECLARE_EXCEPTION_EX ( InvalidHdrFile  ,
rbu  ,
RbuException   
)

rbu::DECLARE_EXCEPTION_EX ( RbuNotSupported  ,
rbu  ,
RbuException   
)

void rbu::dellBiosUpdate ( const IRbuHdr &  hdr,
packet_type  force_type 
)

Update BIOS on Dell systems.

std::ostream& rbu::operator<< ( std::ostream &  cout,
const IRbuHdr &  item 
)


Variable Documentation

const int rbu::BIOSVER_OVERRIDE = 2

const int rbu::NUM_SYS_ID_IN_HDR = 12

const int rbu::SYSID_OVERRIDE = 1


Generated on Mon Sep 10 22:31:54 2012 for libsmbios_c library by  doxygen 1.5.6