NOVA User-Level Environment  Version testbox/changed-memory-timing-317-g320d8b5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
s0_ParentProtocol::ClientData::Cmdline Struct Reference

#include <parent_protocol.h>

Public Member Functions

 Cmdline (const char *cmdline, size_t len)
const char * has (const char *prefix, const char *value="") const
 If value is not NULL, checks whether the command line contains a (space separated) word in the form <prefix>and if yes, a pointer to the value is returned.
const char * get (const char *prefix) const

Public Attributes

const char * cmdline
const size_t len

Constructor & Destructor Documentation

s0_ParentProtocol::ClientData::Cmdline::Cmdline ( const char *  cmdline,
size_t  len 
)
inline

Member Function Documentation

const char* s0_ParentProtocol::ClientData::Cmdline::get ( const char *  prefix) const
inline
const char* s0_ParentProtocol::ClientData::Cmdline::has ( const char *  prefix,
const char *  value = "" 
) const
inline

If value is not NULL, checks whether the command line contains a (space separated) word in the form <prefix>and if yes, a pointer to the value is returned.

If the value is NULL, only the prefix is checked for precence and the value is to be processed by the caller.

Member Data Documentation

const char* s0_ParentProtocol::ClientData::Cmdline::cmdline
const size_t s0_ParentProtocol::ClientData::Cmdline::len

The documentation for this struct was generated from the following file: