Initializes an empty attribute with a base type.
#include "slapi-plugin.h" Slapi_Attr *slapi_attr_init(Slapi_Attr *a, const char *type);
This function takes the following parameters:
The empty attribute to be initialized.
Attribute type to be initialized.
This function returns the newly initialized attribute, or an empty attribute if the type is not specified in the schema.
Use this function to initialize an empty attribute with an attribute type.
Directory Server makes a copy of the type string.