24.30. slapi_entry_first_attr()
#include "slapi-plugin.h" int slapi_entry_first_attr( const Slapi_Entry *e, Slapi_Attr **attr );
This function takes the following parameters:
|
e
| Entry from which you want to get the attribute. |
|
attr
| Pointer to the first attribute in the entry. |
Returns 0 when successful; any other value returned signals failure.
Do not free the returned attr. This is a pointer into the internal entry data structure. If you need a copy, use slapi_attr_dup().

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.