Logo Search packages:      
Sourcecode: dballe version File versions

dba_err dba_record_key_enqi ( dba_record  rec,
dba_keyword  parameter,
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.

Parameters:
rec The record to get the value from.
parameter The parameter 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 507 of file dba_record.c.

References DBA_RUN_OR_RETURN.

{
      dba_var var;
      DBA_RUN_OR_RETURN(get_key(rec, parameter, &var));
      return dba_var_enqi(var, val);
}


Generated by  Doxygen 1.6.0   Back to index