8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 15:23:03 +01:00

Enhanced docs on fb_shutdown_callback()

This commit is contained in:
AlexPeshkoff 2018-01-29 19:04:37 +03:00
parent b191382b36
commit ce41588da2

View File

@ -45,6 +45,8 @@ fb_shut_preproviders - callback function will be called before shutting down eng
fb_shut_postproviders - callback function will be called after shutting down engine fb_shut_postproviders - callback function will be called after shutting down engine
fb_shut_finish - final step, callback function may wait for some activity to be terminated fb_shut_finish - final step, callback function may wait for some activity to be terminated
or ORed combination of them (to make same function be called in required cases). or ORed combination of them (to make same function be called in required cases).
Non-zero mask passed to callback will be ORed with mask used in previous call (if any). Mask also
may have special value 0 - in that case previous mask is reset and callback will never be called.
Callback function has 3 parameters - reason of shutdown, actual value of mask with which it was Callback function has 3 parameters - reason of shutdown, actual value of mask with which it was
called and argument passed by user to fb_shutdown_callback(). There are 2 specially interesting called and argument passed by user to fb_shutdown_callback(). There are 2 specially interesting