extern LIBESC_API int esc_removeservice(char *, esc_security_def_t *)
Remove a service with ESC.Disable an existing service, destroy the service object and remove the service definition from configuration.
After receiving the request, the service definition file will be removed. ESC will disable the service following ESC_disableservice(). After the service becomes DEFINED, ESC will free the service object.
Error on return: May be ESCE_AUTH_FAIL,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, ESCE_AUTH_FAIL,ESCE_NO_ADMIN_AUTH, ESCE_NO_AUTH, ESCE_SEC_INIT_FAIL,ESCE_AUTH_FAIL_CRED_EXPIRE, ESCE_PROTOCOL,ESCE_AUTH_ALREADY,ESCE_AUTH_FAIL_CREATE_EXPIRE, ESCE_AUTH_FAIL_UNKNOWN_USER
- Parameters:
The first parameter IN is the name of service to be removed. The second parameter IN is the security context.
- Returns:
- 0 if successful. < 0 otherwise.
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.