src/common.h file

Classes

struct ldap_global_context_t
ldap_global_context_t - One of the contexts associated with LDHandle.

Enums

enum OperationReturnCode { RETURN_CODE_SUCCESS = 1, RETURN_CODE_FAILURE = 2, RETURN_CODE_MISSING_ATTRIBUTE = 3, RETURN_CODE_OPERATION_IN_PROGRESS = 4, RETURN_CODE_REPEAT_LAST_OPERATION = 5 }

Typedefs

using ldap_global_context_t = struct ldap_global_context_t
ldap_global_context_t - One of the contexts associated with LDHandle.

Functions

void ld_error(const char* format, ...)
ld_error Logs error to stderror.
void ld_warning(const char* format, ...)
ld_warning Logs warning to stderror.
void ld_info(const char* format, ...)
ld_info Logs information to stderror.

Enum documentation

enum OperationReturnCode

Enumerators
RETURN_CODE_SUCCESS

Operation was successful.

RETURN_CODE_FAILURE

Operation ended up in error state.

RETURN_CODE_MISSING_ATTRIBUTE

Required attribute for LDAP entry was not provided.

RETURN_CODE_OPERATION_IN_PROGRESS

Current operation is in progress.

RETURN_CODE_REPEAT_LAST_OPERATION

Last function call must be repeated.

Typedef documentation

typedef struct ldap_global_context_t ldap_global_context_t

ldap_global_context_t - One of the contexts associated with LDHandle.

Function documentation

void ld_error(const char* format, ...)

ld_error Logs error to stderror.

Parameters
format Format that used in printf function.

void ld_warning(const char* format, ...)

ld_warning Logs warning to stderror.

Parameters
format Format that used in printf function.

void ld_info(const char* format, ...)

ld_info Logs information to stderror.

Parameters
format Format that used in printf function.