SMBIOS Library
Namespaces | Macros | Functions
SmbiosWorkaround.cpp File Reference
#include "smbios/compat.h"
#include <string.h>
#include "SmbiosWorkaroundImpl.h"
#include "smbios/SmbiosDefs.h"
#include "SmbiosImpl.h"
#include "StdWorkarounds.h"
#include "smbios/message.h"
Include dependency graph for SmbiosWorkaround.cpp:

Go to the source code of this file.

Namespaces

namespace  smbios

Macros

#define LIBSMBIOS_SOURCE
#define _X(expr)   do{ try { expr } catch( const std::exception & ){} }while(0)

Functions

static bool compare (int size, const ISmbiosItem *item, int offset, datatron data)
static void fixupData (u8 *buf, size_t size, unsigned int offset, unsigned int len, datatron data)
static void doFixupItem (const Workaround *wa, const ISmbiosItem *item, u8 *buf, size_t bufSize)

Macro Definition Documentation

#define _X (   expr)    do{ try { expr } catch( const std::exception & ){} }while(0)

Definition at line 36 of file SmbiosWorkaround.cpp.

Referenced by SmbiosWorkaroundFactory::makeNew().

#define LIBSMBIOS_SOURCE

Definition at line 19 of file SmbiosWorkaround.cpp.