SEDRIS Reference Manual
APPENDIX A - LEVEL 0 READ and WRITE API Functions SE GetReferencedTransmittalList |
---|
extern SE_Status_Code | |||||
SE_GetReferencedTransmittalList | |||||
( | |||||
SE_Transmittal | transmittal_in, | (notes) | |||
SE_Store | store_in, | (notes) | |||
char | * | * | * | transmittal_name_list_out_ptr, | (notes) |
SE_Integer_Unsigned | * | transmittal_name_count_out_ptr | (notes) | ||
); |
Given an SE_Transmittal, returns the list of other transmittals that are referenced by this transmittal via Inter-Transmittal Referencing (ITR). The names returned are formal SEDRIS transmittal names used to create the ITR references. If this transmittal contains no ITR references, then a NULL list is returned.
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 the output parameters are left unaltered, if transmittal_name_list_out_ptr or transmittal_name_count_out_ptr is NULL. |
SE_STAT_CODE_INVALID_OR_NULL_TRANSMITTAL | and *transmittal_name_list_out_ptr is set to NULL and *transmittal_name_count_out_ptr is set to zero (0), if transmittal_in is not a handle to a valid, active (i.e., open and unfreed) SEDRIS transmittal. |
SE_STAT_CODE_OUT_OF_MEMORY | and the output parameters are set as for the SE_STAT_CODE_INVALID_OR_NULL_TRANSMITTAL case, if the API could not allocate the memory for the list or any dynamically allocate memory it should refer to (e.g. character arrays). |
SE_STAT_CODE_FAILURE | and the output parameters are set as for SE_STAT_CODE_INVALID_OR_NULL_TRANSMITTAL, if the API implementation specified does not provide this function in its shared library, and dynamic binding is specified at compile time. |
the SE_Transmittal for which referenced transmittal list should be returned.
the store within which the array of strings should be allocated for storing the returned list.
a pointer to a pointer to a char*. Upon success, this parameter will be set point to the array of character arrays that hold the names of the referenced transmittals.
a pointer to an SE_Integer_Unsigned variable from the caller into which the list length is stored. The magnitude of the value returned is the same as the number of char* pointers returned via the transmittal_name_list_out_ptr parameter.
Prev: SE_GetReferenceSymbol.
Next: SE_GetRelationCounts.
Up:Index.
|