envoy_services_echo
| AttemptShutdown() | GetServiceAttrsA() | RexxReserved() | SetServiceAttrsA() |
| StartServiceA() |
AttemptShutdown()
Synopsis
void AttemptShutdown(
CONST_STRPTR desc,
ULONG seconds );
Function
Advisory shutdown request: stops the server process.
GetServiceAttrsA()
Synopsis
void GetServiceAttrsA(
struct TagItem * tagList );
void GetServiceAttrs(
TAG tag, ... );
Function
SVCAttrs_Name (STRPTR *) receives the service name; this is not a full service, so SVCAttrs_FullService (BOOL *) receives FALSE.
RexxReserved()
Synopsis
void RexxReserved();
Function
Reserved by the service library layout; does nothing.
SetServiceAttrsA()
Synopsis
void SetServiceAttrsA(
struct TagItem * tagList );
void SetServiceAttrs(
TAG tag, ... );
Function
Not a full service: nothing can be set.
StartServiceA()
Synopsis
ULONG StartServiceA(
struct TagItem * tagList );
ULONG StartService(
TAG tag, ... );
Function
Called by the Services Manager for a FindService() client. Starts the server process if it is not running and writes the name of the entity to connect to into the SSVC_EntityName buffer (64 bytes). SSVC_UserName, SSVC_Password and SSVC_HostName are accepted and ignored: this service is open to everyone.
Result
0, or ENVOYERR_NORESOURCES when the server could not be started.


