Logo Search packages:      
Sourcecode: dballe version File versions

dba_err dba_record_var_enqc ( dba_record  rec,
dba_varcode  code,
const char **  value 
)

Get the value of a parameter.

The function will return a string representation of the uncaled number if the value is a number instead of a string.

Parameters:
rec The record to get the value from.
code The variable to get the value for.
Return values:
value The variable where the value should be stored.
Returns:
The error indicator for the function.

Definition at line 542 of file dba_record.c.

References DBA_RUN_OR_RETURN.

{
      dba_var var;
      DBA_RUN_OR_RETURN(get_var(rec, code, &var));
      return dba_var_enqc(var, val);
}


Generated by  Doxygen 1.6.0   Back to index