Logo Search packages:      
Sourcecode: dballe version File versions

const char* dba_record_key_peek_value ( dba_record  rec,
dba_keyword  parameter 

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

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.
rec The record to get the value from.
parameter The keyword to get the value for.
The raw string value, or NULL if the keyword has no value.

Definition at line 456 of file dba_record.c.

      dba_var var = dba_record_key_peek(rec, parameter);
      return var != NULL ? dba_var_value(var) : NULL;

Generated by  Doxygen 1.6.0   Back to index