smartmontools SVN Rev 5419
Utility to control and monitor storage systems with "S.M.A.R.T."
Classes | Functions
anonymous_namespace{atacmds.cpp} Namespace Reference

Classes

class  parsed_ata_device
 

Functions

static const char * nextline (const char *s, int &lineno)
 
static int name2command (const char *s)
 
static bool matchcpy (char *dest, size_t size, const char *src, const regular_expression::match_range &srcmatch)
 
static int matchtoi (const char *src, const regular_expression::match_range &srcmatch, int defval)
 

Function Documentation

◆ matchcpy()

static bool anonymous_namespace{atacmds.cpp}::matchcpy ( char *  dest,
size_t  size,
const char *  src,
const regular_expression::match_range srcmatch 
)
static

Definition at line 2586 of file atacmds.cpp.

◆ matchtoi()

static int anonymous_namespace{atacmds.cpp}::matchtoi ( const char *  src,
const regular_expression::match_range srcmatch,
int  defval 
)
inlinestatic

Definition at line 2599 of file atacmds.cpp.

◆ name2command()

static int anonymous_namespace{atacmds.cpp}::name2command ( const char *  s)
static

Definition at line 2577 of file atacmds.cpp.

◆ nextline()

static const char * anonymous_namespace{atacmds.cpp}::nextline ( const char *  s,
int &  lineno 
)
static

Definition at line 2567 of file atacmds.cpp.