Show Table of Contents
24.16. slapi_entry_attr_get_long()
Gets the first value of an attribute in an entry as a long data type.
Syntax
#include "slapi-plugin.h" long slapi_entry_attr_get_long( const Slapi_Entry* e, const char *type);
Parameters
This function takes the following parameters:
|
e
| Entry from which you want to get the long value. |
|
type
| Attribute type from which you want to get the value. |
Returns
This function returns one of the following values:
- The first value in the attribute converted to a
longtype. - 0 if the entry does not contain the attribute specified.

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.