API Guide
601355 Rev A Getting Started 1-21
Getting Started
Global Vari ables

The following global variables are available to any software

using the VolServ API.

Global Variable Description
VSG_Error Global error handle. It is set if an
error condition occurs in a
function that does not use a
command handle. This includes
the utility functions, handle
functions, and the functions that
set request- specific defaults.
See the man page for
VS_Error_GetFields to learn
how to access error codes.
VSG_Command_Received Pointer to the command handle
whose status was just received
from VolServ. The
VSG_Command_Received can
only be used in asynchronous
processing.