LDAP_CREATE_ABORT_TRANSACTION_REQUEST
Use the LDAP_CREATE_ABORT_TRANSACTION_REQUEST API
or LDAP routine to create a cancel or stop transaction request, in
other words, an abort transaction request.
Synopsis
#include ldap.h
struct berval * ldap_create_abort_transaction_request ( const char *tran_id );Input parameters
- tran_id
- Specifies the transaction ID as a string.
Output parameters
The ldap_create_abort_transaction_request() routine returns a berval struct that contains the abort transaction request.
Usage
This routine is used to create the abort transaction request that can be passed to ldap_extended_operation() or ldap_extended_operation_s() API.
Errors
If an error is encountered, this routine returns a null value.
See also
ldap_start_transaction, ldap_start_transaction_s, ldap_prepare_transaction, ldap_prepare_transaction_s, ldap_end_transaction, ldap_end_transaction_s, ldap_get_tran_id, ldap_create_transaction_control, ldap_create_commit_transaction_request, ldap_create_prepare_transaction_request