extern LIBVEM_API int vem_getDefinedHostType(vem_handle_t *, vem_hosttypes_t *)
Get active host types from VEMRoutine can be called on both unregistered or registered handle. It queries VEM for all host types that are currently active. Active means there is at least one host belonging to VEM with the given host type.
Memory for vem_hosttypes_t should be allocated by the caller.
It is the caller's responsibility to free vem_hosttypes_t after a successful call. vem_clear_hosttypes may be used.
- Returns:
- 0 on success, < 0 otherwise
- See also:
- vem_clear_hosttypes
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.