SEDRIS Reference Manual
APPENDIX A - LEVEL 0 READ and WRITE API
Functions
SE GetTransmittalVersionInformation
extern SE_Status_Code
SE_GetTransmittalVersionInformation
(
SE_Transmittal transmittal, (notes)
SE_Short_Integer_Positive *major_DRM_version_out_ptr, (notes)
SE_Byte_Unsigned *minor_DRM_version_out_ptr, (notes)
SE_Character *interim_DRM_version_out_ptr, (notes)
SE_Short_Integer_Positive *major_EDCS_version_out_ptr, (notes)
SE_Byte_Unsigned *minor_EDCS_version_out_ptr, (notes)
SE_Character *interim_EDCS_version_out_ptr (notes)
);

Definition

Gets the version of the SEDRIS Data Representation Model (DRM) and Environmental Data Coding Standard (EDCS) used to define the given transmittal.


Returns

SE_STAT_CODE_SUCCESS and the output parameters are set appropriately, if valid parameters were passed in and all operations succeeded.
SE_STAT_CODE_NULL_REQUIRED_PARAMETER and none of the output parameters are affected, if any output parameter was NULL.
SE_STAT_CODE_INVALID_OR_NULL_TRANSMITTAL and none of the output parameters are affected, if transmittal is not a handle to a valid, active (not previously closed) transmittal.
SE_STAT_CODE_FAILURE and none of the output parameters are affected, if the API implementation specified does not provide this function in its shared library, and dynamic binding is specified at compile time.


Parameters Notes


transmittal

 the transmittal whose version information is being obtained

major_DRM_version_out_ptr

 a pointer to a SE_Short_Integer_Positive in the user's memory
    space that will be set to an integer value greater than or equal to 1

minor_DRM_version_out_ptr

 a pointer to a SE_Byte_Unsigned in the user's memory
    space that will be set to an integer value between 0 and 99, inclusive

interim_DRM_version_out_ptr

 a pointer to an SE_Character in the user's memory
    space that will be set to a value between 'a' and 'z' inclusive.
    If it was not an interim version of the DRM, then the value will
    be set to a blank (' ').

major_EDCS_version_out_ptr

 a pointer to a SE_Short_Integer_Positive in the user's memory
    space that will be set to an integer value greater than or equal to 1

minor_EDCS_version_out_ptr

 a pointer to a SE_Byte_Unsigned in the user's memory
    space that will be set to an integer value between 0 and 99, inclusive

interim_EDCS_version_out_ptr

 a pointer to a SE_Character in the user's memory
    space that will be set to a value between 'a' and 'z' inclusive.
    If it was not an interim version of the EDCS, then the value will
    be set to a blank (' ').


Prev: SE_GetTransmittalName. Next: SE_GetUniqueTransmittalID. Up:Index.

Last updated: May 15, 2003 Copyright © 2003 SEDRIS™