HP-UX Directory Server 8.1 plug-in reference

Table Of Contents
70 Parameters for resource limits
The following parameters are used to provide information about resource limits:
“Parameter for binder-based resource limits”
“Status codes for resource limits”
70.1 Parameter for binder-based resource limits
The following parameter is a valid value for the slapi_reslimit_register() function.
DescriptionData typeParameter ID
Valid values for the type parameter for
slapi_reslimit_register().
intSLAPI_RESLIMIT_TYPE_INT
70.2 Status codes for resource limits
The status codes are used with functions that extract attribute values from a binder entry that
corresponds to resource limits. Typically, operational attributes are used to hold binder-specific
search size limits.
Any resource limits found in the binder entry are cached in the connection structure by a
connection object extension. This means that if the attributes that correspond to the binder entry
is changed, the resource limit is not effected until the next bind occurs as that entry.
The status codes are the possible return values for the slapi_reslimit_register() and
slapi_reslimit_get_integer_limit() functions. A plug-in or server subsystem that
wants to use the resource limit subsystem should call the slapi_reslimit_register()
plug-in function once for each limit to be tracked. slapi_reslimit_register() should be
called before any client connections are accepted.
70.1 Parameter for binder-based resource limits 431