ADIC Digital Camera 601355 Rev A 사용자 설명서
API Guide
601355 Rev A
API Functions
2-249
Functions
VS_Initialize
VS_Initialize
readies the VolServ API library for use by
the client software.
VS_Initialize
creates and registers RPC transports for
receiving VolServ status messages and also performs
initialization processing required by other API functions.
initialization processing required by other API functions.
VS_Initialize
must be called before any API command
functions are called.
Synopsis
VST_BOOLEAN VS_Initialize
( VST_HOSTNAME hostname,
VST_PROGRAM_NUMBER prognum,
int time-out )
( VST_HOSTNAME hostname,
VST_PROGRAM_NUMBER prognum,
int time-out )
Arguments
•
hostname
= Name of the computer running VolServ.
-
If NULL is specified, hostname defaults to the current
host machine.
host machine.
•
prognum
= Program number on which VolServ is
registered.
-
If 0 is specified, prognum defaults to 300016 - the
VolServ default.
VolServ default.
•
timeout
= Amount of time, in seconds, to wait for an
initial status from VolServ before timing out.