Gets the first value of an attribute in an entry as an integer.
#include "slapi-plugin.h" int slapi_entry_attr_get_int(const Slapi_Entry* e,const char *type);
This function takes the following parameters:
Entry from which you want to get the integer value.
Attribute type from which you want to get the value.
Returns the first value in the attribute converted to an integer or 0 if the entry does not contain the attribute.