ihuBrowseCollectors

Use the ihuBrowseCollectors function to browse collectors that are connected to the archiver.

Prototype

ihuErrorCode IHUAPI ihuBrowseCollectors (
long hServer,
MSO Char *InterfaceNameMask
IHU_COLLECTOR **Collectors,
int *NumOfCollectors
);

Remarks

The inputs to the function are:

  • hServer: Server handle for the server to be browsed.
  • *InterfaceNameMask: Pass * for all interfaces, or the interface name or detailed mask for efficiency.

The outputs of the function are:

  • **Collectors: Returns a list of interfaces/collectors.
  • *NumOfCollectors: Returns the number of interfaces found.

Returns

The ihuBrowseCollectors function returns the following values:

  • ihuSTATUS_OK
  • ihuSTATUS_FAILED