int sm_get_driver_info(struct sm_driver_info_parms *drvinfop)
typedef struct sm_driver_info_parms {
tSM_INT major; /* out */
tSM_INT minor; /* out */
tSM_INT step; /* out */
tSM_INT custom; /* out */
tSM_INT quality; /* out */
tSM_INT buildno0; /* out */
tSM_INT buildno1; /* out */
} SM_DRIVER_INFO_PARMS;
Retrieves information about TiNG library version controlling Prosody modules installed in system.
On return, the parameters
major,
minor
and
step
will be set to the values X, Y, and
Z respectively of the three element version no. for
the library X.Y.Z.
The custom parameter will be set to a non-zero value if the driver build is a custom special build of the driver for a specific customer.
The quality parameter will be set to one of the following character values:
| Quality | Character |
|---|---|
| 'B' | Beta quality version |
| 'T' | Test version |
| 'D' | Development (or alpha quality) version |
| 'I' | Released version |
The buildno0 and buildno1 parameters are for Aculab use only. However, note that it is essential to include these two parameters when describing the version to Aculab support staff.
0 if call completed successfully, otherwise a standard error such as:
This function is part of the Prosody generic API.