Duplicates an attribute.
#include "slapi-plugin.h" Slapi_Attr *slapi_attr_dup(const Slapi_Attr *attr);
This function takes the following parameter:
The attribute to be duplicated.
This function returns the newly created copy of the attribute.
Use this function to make a copy of an attribute.
You must free the returned attribute using slapi_attr_free() .