The SEDRIS Data Representation Model
APPENDIX D - Functions
SE FuncAdd
extern SE_DRM_Status_Code
SE_FuncAdd
(
const SE_Literal_Fields  *a_ptr,1
const SE_Literal_Fields  *b_ptr,2
SE_Literal_Fields  *result_out_ptr3
);

Definition

Adds the values in a_ptr and b_ptr, and reports the result in result_out_ptr.


Returns

SE_DRM_STAT_CODE_SUCCESS and *result_out_ptr is set appropriately, if valid parameters were passed in and all operations succeeded.
SE_DRM_STAT_CODE_NULL_REQUIRED_PARAMETER and *result_out_ptr is left unchanged, if any of the parameters are NULL.
SE_DRM_STAT_CODE_FAILURE and *result_out_ptr is left unchanged, if a_ptr or b_ptr contains an invalid value field for this operation.

Parameters Notes

1 pointer to the first operand

2 pointer to the second operand

3 pointer to the result


Prev: SE_FreeURN. Next: SE_FuncDiv. Up:Index.