Visit Platform at http://www.platform.com

extern LIBVEM_API int vem_getHostInfo(vem_handle_t *, vem_hostinforeq_t *, vem_hostinfo_t **hostinfo, char ***attributes)

Get host infomation from VEM.

Routine can be called on both unregistered or registered handles.

Fields in vem_hostinforeq: "resreq" specifies that only hosts that satisfy this requirement should be returned. "hostlist" is a NULL terminated list of host names that specify that only hosts with a name in this list should be returned. "hostlist" can also be NULL, to indicate all hosts will be considered.

Parameters:
hostinfo OUT parameter: list of host info from VEM. The size of the array is the return value of the routine.
attributes OUT parameter: a NULL terminated list of names for "attributes" of "hostinfo" structure. The number of elements in this array will be the same size as "attributes" of "hostinfo".
Returns:
number of hosts in "hostinfo", < 0 on error


     
Date Modified: 26 Nov 2007
Platform Computing: www.platform.com

Platform Support: support@platform.com
Platform Information Development: doc@platform.com

Copyright © 2001-2007 Platform Computing Corporation. All rights reserved.