API Guide
601355 Rev A Getting Started 1-19
Getting Started
Dispatch Routines
Dispatch routines are functions within the client software that
the API automatically calls when status messages or
MediaClass callbacks are received from VolServ. The dispatch
routine for MediaClass callbacks (also referred to as
notifications) is described on the man page for
VS_Notify_SetFields(l).
Dispatch routines for status messages are set for all requests
with the VS_Global_SetFields() call, for all requests of a
given type with the VSCMD_request _SetDefaults() call, or as
part of the call that sends the VolServ request.
Dispatch routines are prototyped as follows:
void dispatchroutine(VST_COMMAND_HANDLE handle)
The dispatch routine takes one argument. This is the command
handle for the request that received status.