Logo Search packages:      
Sourcecode: dballe version File versions

const char* dba_record_var_peek_value ( dba_record  rec,
dba_varcode  code 
)

Look at the raw value of a variable in the record, without raising errors.

Deprecated:
This function is not to be considered a stable part of the API, but it is used by higher level to have a value lookup function that does not trigger error callbacks if nothing is found.
Parameters:
rec The record to get the value from.
code The variable to get the value for.
Returns:
The raw string value, or NULL if the variable has no value.

Definition at line 462 of file dba_record.c.

{
      dba_var var = dba_record_var_peek(rec, code);
      return var != NULL ? dba_var_value(var) : NULL;
}


Generated by  Doxygen 1.6.0   Back to index