44.8. slapi_vattr_values_type_thang_get()
This function gets values for an attribute type in the list only if the results field for that attribute type is NULL. The slapi_vattr_values_type_thang_get() function is faster for getting the values of an attribute when a vattr_type_thang list is returned from a slapi_vattr_list_types() call. However, when the list for that call returns NULL, the computation becomes similar to slapi_vattr_values_get(). In functionality, slapi_vattr_values_type_thang_get() mimics slapi_vattr_values_get().
#include "slapi-plugin.h" int slapi_vattr_values_type_thang_get ( Slapi_Entry *e, vattr_type_thang *type_thang, Slapi_ValueSet** results, int *type_name_disposition, char **actual_type_name, int flags, int *buffer_flags);
This function takes the following parameters:
|
e
| Entry to be compared. |
|
type
| Attribute type name. |
|
results
| Pointer to the result set: 0 if the compare is true, 1 if the compare is false. |
|
type_name_disposition
| Matching result. Valid value is as follows: SLAPI_VIRTUALATTRS_TYPE_NAME_MATCHED_EXACTLY_OR_ALIAS |
|
actual_type_name
| Type name as found. |
|
flags
| Not used. You should pass 0 for this parameter. |
|
buffer_flags
| Bit mask of options. Valid value is as follows: SLAPI_VIRTUALATTRS_RETURNED_POINTERS |

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.