file
domain_p.h
Classes
- struct ld_config_s
- struct ldhandle
Typedefs
-
using ld_config_t = struct ld_
config_ s - using LDHandle = struct ldhandle
-
using LDAPAttribute_t = struct LDAPAttribute_
s
Functions
-
auto ld_add_entry(LDHandle* handle,
const char* name,
const char* parent,
const char* prefix,
LDAPAttribute_
t** entry_attrs) -> enum OperationReturnCode - ld_add_entry Creates the entry.
- auto ld_del_entry(LDHandle* handle, const char* name, const char* parent, const char* prefix) -> enum OperationReturnCode
- ld_del_entry Deletes entry.
-
auto ld_mod_entry(LDHandle* handle,
const char* name,
const char* parent,
const char* prefix,
LDAPAttribute_
t** entry_attrs) -> enum OperationReturnCode - ld_mod_entry Modifies the entry.
- auto ld_rename_entry(LDHandle* handle, const char* old_name, const char* new_name, const char* parent, const char* prefix) -> enum OperationReturnCode
- ld_rename_entry Renames the entry.
-
auto ld_mod_entry_attrs(LDHandle* handle,
const char* name,
const char* parent,
const char* prefix,
LDAPAttribute_
t** entry_attrs, int opcode) -> enum OperationReturnCode - ld_mod_entry_attrs Modifies list of attributes using supplied operation.
Defines
- #define check_handle(handle, function_name)
- #define check_string(input, output, function_name)
- #define check_and_assign_attribute(error_handler, attrs, value, index, talloc_ctx)
Function documentation
enum OperationReturnCode ld_add_entry(LDHandle* handle,
const char* name,
const char* parent,
const char* prefix,
LDAPAttribute_ t** entry_attrs)
ld_add_entry Creates the entry.
Parameters | |
---|---|
handle in | Pointer to libdomain session handle. |
name in | Name of the entry. |
parent in | Parent container that holds the entry. |
prefix | |
entry_attrs in | List of the attributes to create entry with. |
Returns |
|
enum OperationReturnCode ld_del_entry(LDHandle* handle, const char* name, const char* parent, const char* prefix)
ld_del_entry Deletes entry.
Parameters | |
---|---|
handle in | Pointer to libdomain session handle. |
name in | Name of the entry. |
parent in | Parent container that holds the entry. |
prefix in | Prefix of the entry. |
Returns |
|
enum OperationReturnCode ld_mod_entry(LDHandle* handle,
const char* name,
const char* parent,
const char* prefix,
LDAPAttribute_ t** entry_attrs)
ld_mod_entry Modifies the entry.
Parameters | |
---|---|
handle in | Pointer to libdomain session handle. |
name in | Name of the entry. |
parent in | Parent container that holds the entry. |
prefix | |
entry_attrs in | List of the attributes to modify. |
Returns |
|
enum OperationReturnCode ld_rename_entry(LDHandle* handle, const char* old_name, const char* new_name, const char* parent, const char* prefix)
ld_rename_entry Renames the entry.
Parameters | |
---|---|
handle in | Pointer to libdomain session handle. |
old_name in | Old name of the entry. |
new_name in | New name of the entry. |
parent in | Parent container that holds the entry. |
prefix in | Prefix for entry type. |
Returns |
|
enum OperationReturnCode ld_mod_entry_attrs(LDHandle* handle,
const char* name,
const char* parent,
const char* prefix,
LDAPAttribute_ t** entry_attrs,
int opcode)
ld_mod_entry_attrs Modifies list of attributes using supplied operation.
Parameters | |
---|---|
handle in | Pointer to libdomain session handle. |
name in | Name of the entry. |
parent in | Parent container that holds the entry. |
prefix in | Prefix of the entry. |
entry_attrs in | List of the attributes to modify. |
opcode in | Code of operation e.g. LDAP_MOD_REPLACE. |
Returns |
|