Syntax
#include "slapi-plugin.h" int slapi_attr_flag_is_set( Slapi_Attr *attr, unsigned long flag ); Parameters
#include "slapi-plugin.h" int slapi_attr_flag_is_set( Slapi_Attr *attr, unsigned long flag );
The function has the following parameters:
attr
flag
The value of the flag argument can be one of the following:
SLAPI_ATTR_FLAG_SINGLE
SLAPI_ATTR_FLAG_OPATTR
SLAPI_ATTR_FLAG_READONLY
Returns
1 if the specified flag is set, or 0 if the specified flag is not set.