void tsmParseConnectArgs ( int argc, char **argv, TsmConnection connect ) Updates a connection's settings from command line options
Updates a connection's settings from command line options.This function can be used to allow your programs to support a number of standard command line arguments for specifying the settings of a connection once it has been opened.
The function will scan the provided command line looking for any supported arguments. It will build update the passed TsmConnection structure based upon the options that it finds, effectively by doing a number of tsmSet() calls based upon the available parameters.
For example, if this function finds an option called "-jpegquality 50" on the command line, it will do a tsmSet(connect, TSM_JPEG_QUALITY, 50) for the passed connection, thus setting the output JPEG quality for any tiles.
The currently supported options that this function recognises are:
- "-dontreadtiles = don't do any disk or network access during any of the read tile routines [READ ONLY]
- "-jpegquality <n>" = the jpeg quality to write tiles with (0-100%) [WRITE ONLY]
- "-metadata<n>" = sets one of n metadata URLs for a new DPSS set [WRITE ONLY]