Direct Access Transport Library Functions datrmrquery(3DAT)
NAME
datrmrquery - provide RMR parameters
SYNOPSIS
cc [ flag... ] file... -ldat [ library... ]
#include
DATRETURN
datrmrquery (
IN DATRMRHANDLE rmrhandle,
IN DATRMRPARAMASK rmrparammask,
OUT DATRMRPARAM *rmrparam
)
PARAMETERS
rmrhandle Handle for an instance of the RMR.
rmrparammask Mask for RMR parameters.
rmrparam Pointer to a Consumer-allocated structure
that the Provider fills with RMR parame-
ters.
DESCRIPTION
The datrmrquery() function provides RMR parameters to the
Consumer. The Consumer passes in a pointer to the Consumer-
allocated structures for RMR parameters that the Provider
fills.
The rmrparammask parameter allows Consumers to specify
which parameters to query. The Provider returns values for
rmrparammask requested parameters. The Provider can return
values for any other parameters.
Not all parameters can have a value at all times. For exam-
ple, lmrhandle, targetaddress, segmentlength,
memprivileges, and rmrcontext are not defined for an
unbound RMR.
RETURN VALUES
DATSUCES The operation was successful.
DATINVALIDPARAMETER The rmrparammask parameter is
invalid.
SunOS 5.11 Last change: 16 Jul 2004 1
Direct Access Transport Library Functions datrmrquery(3DAT)
DATINVALIDHANDLE The mrhandle parameter is invalid.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
Interface Stability Standard: uDAPL, 1.1, 1.2
MT-Level Unsafe
SEE ALSO
libdat(3LIB), attributes(5)
SunOS 5.11 Last change: 16 Jul 2004 2
|