ARGetListServer
Description
Retrieves the list of available AR System server defined in the ar directory file (UNIX only). BMC Remedy Developer Studio and BMC Remedy Data Import connect to these servers automatically if no servers are specified at startup. If the ar file is under NIS control, the system uses the file specified by the NIS map instead of the local ar file. For information about the ar file, see ar-cfg-or-ar-conf.
Privileges
All users.
Synopsis
#include "arerrno.h"
#include "arextern.h"
int ARGetListServer(
ARControlStruct *control,
ARServerNameList *serverList,
ARStatusList *status)
Input arguments
control
The control record for the operation. It contains information about the user requesting the operation, where that operation is to be performed, and which session is used to perform it. The user and server fields are required.
Return values
serverList
A list of zero or more registered AR System server. The system returns a list with zero items if no AR System server are registered.
status
A list of zero or more notes, warnings, or errors generated from a call to this function. For a description of all possible values, see Error-checking.
See also
ar directory file. See FreeAR for: FreeARServerNameList, FreeARStatusList.