libsmbios_c library
Data Structures | Namespaces | Enumerations | Functions | Variables
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.

Data Structures

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

Namespaces

namespace  rbu
 

Enumerations

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

Functions

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

Variables

const int rbu::SYSID_OVERRIDE = 1
 
const int rbu::BIOSVER_OVERRIDE = 2