To obtain the version number of the API implemented by the data store.
int version(int *versionp);
Data stores that support the Service Provider Layer API described in this manual are version 1 (one). The version is returned in the int pointed to by versionp.
DSVC_SUCCESS, DSVC_INTERNAL, DSVC_MODULE_ERR.