24.41. slapi_entry_next_attr()
#include "slapi-plugin.h" int slapi_entry_next_attr( const Slapi_Entry *e, Slapi_Attr *prevattr, Slapi_Attr **attr );
This function takes the following parameters:
|
e
| Entry from which you want to get the attribute. |
|
prevattr
| Previous attribute in the entry. |
|
attr
| Pointer to the next attribute after prevattr in the entry. |
This function returns one of the following values:
- 0 if successful.
- -1 if prevattr was the last attribute in the entry.
Never free the returned attr. Use slapi_attr_dup() to make a copy if a copy is needed.

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.