36.2. slapi_is_encoded()

Checks whether the specified value is encoded with any known algorithm.
Syntax

#include "slapi-plugin.h"
int slapi_is_encoded(char *value);

Parameters

This function takes the following parameter:

value
The value, the encoding status of which needs to be determined.
Returns

This function returns one of the following values:

  • 1 if the value is encoded.
  • 0 if the value is not encoded.