Logo Search packages:      
Sourcecode: dballe version File versions

dba_err dba_record_contains_var ( dba_record  rec,
dba_varcode  code,
int *  found 
)

Check if a variable is set

Parameters:
rec The record to get the value from.
code The variable to check.
Return values:
found true if the record contains a value for the parameter, else false.
Returns:
The error indicator for the function (
See also:
dba_err).

Definition at line 480 of file dba_record.c.

{
      assert_is_dba_record(rec);

      *found = dba_record_has_item(rec, code);

      return dba_error_ok();
}


Generated by  Doxygen 1.6.0   Back to index