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

extern LIBESC_API int esc_updateservice(char *, esc_security_def_t *)

Update a service with ESC.

Update a service according to a service definition string. ESC will verify the service definition string and decide whether to accept or reject it. Then it will load the service definition string into memory and update the original service. The ESC will also update its service definition database and continue to manage the lifecycle of the updated service.

Parameters:
The first parameter IN is the service definition string to be updated.
The second parameter IN is the security context.
Error on return: May be ESCE_NO_VEMKD,ESCE_AUTH_FAIL,ESCE_SYS, ESCE_ESC_DOWN, ESCE_SOCK_SYS, ESCE_TIME_OUT, ESCE_BAD_ARG, ESCE_NO_MEM, ESCE_XDR, ESCE_WRONG_DFN, ESCE_SVR_EXIST,ESCE_XMLFC_FAIL, 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, ESCE_NO_PERM_RECONFIG, ESCE_SERVICE_REMOVING

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.