envoy_efsservice
| AttemptShutdown() | GetServiceAttrsA() | RexxReserved() | SetServiceAttrsA() |
| StartServiceA() |
AttemptShutdown()
Synopsis
void AttemptShutdown(
CONST_STRPTR desc,
ULONG seconds );
Function
Advisory shutdown request: stops the envoyfs daemon (found by its public marker port), which releases every mount's locks and file handles.
GetServiceAttrsA()
Synopsis
void GetServiceAttrsA(
struct TagItem * tagList );
void GetServiceAttrs(
TAG tag, ... );
Function
SVCAttrs_Name (STRPTR *) receives "Filesystem"; SVCAttrs_FullService (BOOL *) receives TRUE: AttemptShutdown() is honoured.
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
Nothing can be set; the service name is fixed.
StartServiceA()
Synopsis
ULONG StartServiceA(
struct TagItem * tagList );
ULONG StartService(
TAG tag, ... );
Function
Called by the Services Manager for every FindService() client. Writes "Filesystem" into the SSVC_EntityName buffer when the envoyfs daemon's public entity exists. SSVC_UserName, SSVC_Password and SSVC_HostName are ignored: the mount transaction carries the credentials.
Result
0, or ENVOYERR_UNKNOWNSERVICE when the daemon is not running (enable it in the AROSTCP service manager: db/services.d/envoyfs).


