Sun Java System Directory Server Enterprise Edition 6.0 Developer's Guide

slapi_attr_get_plugin()

Gets a pointer to the syntax plug-in used to handle values of the attribute type in question.

Syntax

#include "slapi-plugin.h"
int slapi_attr_get_plugin( Slapi_Attr *a, void **plugin );

Parameters

This function takes the following parameters:

a

Attribute whose associated syntax plug-in you want to access.

plugin

This parameter is set to a pointer to the plug-in registered to handle attributes of the type passed to this function. Do not free this pointer as it is not a copy.

Returns

This function returns 0.