Added Versions to sessioninfo
This commit is contained in:
parent
80677a35a9
commit
7b403d8ca7
@ -157,8 +157,27 @@ void tsm_sessioninfo(dsUint32_t dsmHandle) {
|
||||
dsInt16_t rc=0;
|
||||
optStruct dsmOpt;
|
||||
ApiSessInfo dsmSessInfo;
|
||||
dsmApiVersionEx apiLibVer;
|
||||
char t[50];
|
||||
|
||||
memset(&apiLibVer,0x00,sizeof(dsmApiVersionEx));
|
||||
apiLibVer.stVersion = apiVersionExVer;
|
||||
dsmQueryApiVersionEx(&apiLibVer);
|
||||
|
||||
printf("Application Version:\n");
|
||||
printf(" TSMPIPE API Version: %d.%d.%d.%d\n",
|
||||
DSM_API_VERSION,
|
||||
DSM_API_RELEASE,
|
||||
DSM_API_LEVEL,
|
||||
DSM_API_SUBLEVEL);
|
||||
|
||||
printf(" TSM Library: %d.%d.%d.%d\n",
|
||||
apiLibVer.version,
|
||||
apiLibVer.release,
|
||||
apiLibVer.level,
|
||||
apiLibVer.subLevel);
|
||||
printf("\n");
|
||||
|
||||
memset(&dsmOpt,0x00,sizeof(dsmOpt));
|
||||
rc = dsmQuerySessOptions(dsmHandle, &dsmOpt);
|
||||
|
||||
|
Reference in New Issue
Block a user