Main Page | Namespace List | Class Hierarchy | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages

/usr/src/redhat/BUILD/libsmbios-2.2.26/src/include/smbios/DellRbu.h File Reference

#include "smbios/compat.h"
#include <string>
#include "smbios/types.h"
#include "smbios/IFactory.h"
#include "smbios/IException.h"
#include "smbios/config/abi_prefix.hpp"
#include "smbios/config/abi_suffix.hpp"

Go to the source code of this file.

Namespaces

namespace  rbu

Data Structures

class  rbu::RbuFactory
 AbstractFactory that produces IRbuHdr objects. More...
class  rbu::IRbuHdr
 Interface definition for RBU HDR operations. More...

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 }

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


Enumeration Type Documentation

enum driver_type
 

Enumeration values:
rbu_unsupported 
rbu_linux_v0 
rbu_linux_v1 
rbu_linux_v2 

enum packet_type
 

Enumeration values:
pt_any 
pt_mono 
pt_packet 
pt_init 


Function Documentation

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.

int compareBiosVersion std::string  ver1,
std::string  ver2
 

Compare BIOS Versions.

DECLARE_EXCEPTION RbuException   ) 
 

DECLARE_EXCEPTION_EX RbuDriverIOError  ,
rbu  ,
RbuException 
 

DECLARE_EXCEPTION_EX HdrFileIOError  ,
rbu  ,
RbuException 
 

DECLARE_EXCEPTION_EX UnsupportedSystemForHdrFile  ,
rbu  ,
RbuException 
 

DECLARE_EXCEPTION_EX InvalidHdrFile  ,
rbu  ,
RbuException 
 

DECLARE_EXCEPTION_EX RbuNotSupported  ,
rbu  ,
RbuException 
 

void dellBiosUpdate const IRbuHdr &  hdr,
packet_type  force_type
 

Update BIOS on Dell systems.

std::ostream& operator<< std::ostream &  cout,
const IRbuHdr &  item
 


Variable Documentation

const int rbu::BIOSVER_OVERRIDE = 2
 

const int rbu::SYSID_OVERRIDE = 1
 


Generated on Thu Jul 8 14:58:13 2010 for libsmbios_c library by  doxygen 1.3.9.1