20.28. slapi_unregister_backend_state_change()

Description

This function enables a plug-in to unregister backend-state-change callback. Use this function to unregister the callback, which is registered using slapi_register_backend_state_change().

Syntax

#include "slapi-plugin.h"
int slapi_unregister_backend_state_change(void * handle);

Parameters

This function takes the following parameter:

handle
Pointer or reference to the address of the specified function.
Returns

This function returns one of the following values:

  • 0 if the specified callback was found and unregistered successfully.
  • 1 if the specified callback wasn't unregistered successfully; for example, if it were not found.