enum NameServerRemoteNull_Status |
|
Status codes returned by certain calls
typedef enum NameServerRemoteNull_Status {
NameServerRemoteNull_S_SUCCESS,
NameServerRemoteNull_E_FAIL,
NameServerRemoteNull_E_ERROR
} NameServerRemoteNull_Status;
NameServerRemoteNull_attach() // module-wide |
|
Function is called by Ipc_attach() through NameServer_SetupProxy
Int NameServerRemoteNull_attach(UInt16 remoteProcId, Ptr sharedAddr);
NameServerRemoteNull_detach() // module-wide |
|
Function is called by Ipc_detach() through NameServer_SetupProxy
Int NameServerRemoteNull_detach(UInt16 remoteProcId);
NameServerRemoteNull_sharedMemReq() // module-wide |
|
Returns the shared memory size requirement for a single instance
SizeT NameServerRemoteNull_sharedMemReq(Ptr sharedAddr);
ARGUMENTS
sharedAddr
Shared address
RETURNS
Number of MAUs needed to create the instance.
DETAILS
Function is called during Ipc_attach() through NameServer_SetupProxy.
Module-Wide Built-Ins |
|
// Get this module's unique id
Bool NameServerRemoteNull_Module_startupDone();
// Test if this module has completed startup
// The heap from which this module allocates memory
Bool NameServerRemoteNull_Module_hasMask();
// Test whether this module has a diagnostics mask
Bits16 NameServerRemoteNull_Module_getMask();
// Returns the diagnostics mask for this module
Void NameServerRemoteNull_Module_setMask(Bits16 mask);
// Set the diagnostics mask for this module
Instance Object Types |
|
typedef struct NameServerRemoteNull_Object NameServerRemoteNull_Object;
// Opaque internal representation of an instance object
// Client reference to an instance object
typedef struct NameServerRemoteNull_Struct NameServerRemoteNull_Struct;
// Opaque client structure large enough to hold an instance object
// Convert this instance structure pointer into an instance handle
// Convert this instance handle into an instance structure pointer
Instance Config Parameters |
|
typedef struct NameServerRemoteNull_Params {
// Instance config-params structure
// Common per-instance configs
} NameServerRemoteNull_Params;
// Initialize this config-params structure with supplier-specified defaults before instance creation
Instance Creation |
|
// Allocate and initialize a new instance object and return its handle
// Initialize a new instance object inside the provided structure
ARGUMENTS
params
per-instance config params, or NULL to select default values (target-domain only)
eb
active error-handling block, or NULL to select default policy (target-domain only)
Instance Deletion |
|
// Finalize and free this previously allocated instance object, setting the referenced handle to NULL
// Finalize the instance object inside the provided structure
NameServerRemoteNull_get() // instance |
|
ARGUMENTS
handle
handle of a previously-created NameServerRemoteNull instance object
Instance Convertors |
|
// unconditionally move one level up the inheritance hierarchy
// conditionally move one level down the inheritance hierarchy; NULL upon failure
Instance Built-Ins |
|
Int NameServerRemoteNull_Object_count();
// The number of statically-created instance objects
// The handle of the i-th statically-created instance object (array == NULL)
// The handle of the first dynamically-created instance object, or NULL
// The handle of the next dynamically-created instance object, or NULL
// The heap used to allocate dynamically-created instance objects
// The label associated with this instance object
// The name of this instance object