extern LIBESC_API int esc_queryservice(char *, esc_service_info_reply_t*)
Get service infomation from ESC.Query services information, including service configuration, service runtime and service instance runtime. If name is NULL, get all services information.
Error on return: May be ESCE_SYS, ESCE_NO_VEMKD, ESCE_ESC_DOWN, ESCE_SOCK_SYS, ESCE_TIME_OUT, ESCE_BAD_ARG, ESCE_NO_MEM, ESCE_XDR, ESCE_NOSUCH_SERVICE
- Parameters:
The first parameter IN is the name of service to be queried. If name is NULL, get all services information. The second parameter IN is the structure of returned service information, including the number of services and the array of service information.
- Returns:
- 0 on OK, < 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.