int tsmGet ( TsmConnection connect, TsmSetting setting )

Query a connection variable

Documentation

Query a connection variable.

The tsmGet function lets you query various characteristics of a connection; a number of which may be changed with the associated tsmSet function. The setting value can be any of the following. In each case we state whether a settings can only be read (i.e. returned by tsmGet), or if it can also be changed (i.e. using tsmSet).

N.B. this function always returns an int. We note where this should be cast to another type, e.g. name = (char *) tsmGet( connect, TSM_DATASET_NAME );

Returns:
the value of the specified setting (cast to int if other type)
Parameters:
connect - a dataset connection, as returned by tsmConnect
setting - the connection option being queried, e.g. TSM_JPEG_QUALITY
Author:
Martin Reddy
Version:
4 February 1998
See Also:
tsmSet, TsmSetting


TSMAPI_RELEASE 2.1 - Release Date: 2001/01/10 19:01:12

Back to tsmApi Home Page