Table C-1 maps obsolete Monitor Client Library functions to their replacement functions:
The most significant syntactic difference between the obsolete and replacement functions is the callback function parameter. In earlier versions, SMC_CALLBACK, SMC_ALARM_CALLBACK, and SMC_ERR_CALLBACK were used to specify a callback function. These callback function types are have been replaced by SMC_GEN_CALLBACK.
The refresh function, smc_refresh_ex,
does not use any callback function, unlike the obsolete smc_refresh.
In addition to changing the callback function types, smc_connect and smc_disconnect have been replaced by a set of functions that allow for greater flexibility and control.
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |