TsmHandle* tsmClose ( TsmHandle *tsmh ) Closes the connection to the Tile Set Manager
Closes the connection to the Tile Set Manager.tsmClose finishes the current TSM session (as opened with tsmOpen) and frees all associated data structures.
N.B. this function is part of the old style server-centric interface to tsmApi. You should really start using the new leaner, cleaner, and sexier connection-based interface (see tsmConnect). This function is now just an emulation layer on top of the relevant connection-based function(s).