Logo Search packages:      
Sourcecode: dballe version File versions

dba_err dba_record_var_enqi ( dba_record  rec,
dba_varcode  code,
int *  value 

Get the value of a parameter, as an unscaled integer.

The function will fail if the value is a string instead of a number.

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.
The error indicator for the function.

Definition at line 514 of file dba_record.c.


      dba_var var;
      DBA_RUN_OR_RETURN(get_var(rec, code, &var));
      return dba_var_enqi(var, val);

Generated by  Doxygen 1.6.0   Back to index