19.13. slapi_attr_init()

Description

Use this function to initialize an empty attribute with an attribute type.

Syntax

#include "slapi-plugin.h"
Slapi_Attr *slapi_attr_init(Slapi_Attr *a, const char *type);

Parameters

This function takes the following parameters:

a The empty attribute to be initialized.
type Attribute type to be initialized.
Returns

This function returns the newly-initialized attribute.