file
computer.h
Functions
-
auto ld_add_computer(LDHandle* handle,
const char* name,
LDAPAttribute_
t** attrs, const char* parent) -> enum OperationReturnCode - ld_add_computer Creates new computer
- auto ld_del_computer(LDHandle* handle, const char* name, const char* parent) -> enum OperationReturnCode
- ld_del_computer Deletes computer
-
auto ld_mod_computer(LDHandle* handle,
const char* name,
const char* parent,
LDAPAttribute_
t** computer_attrs) -> enum OperationReturnCode - ld_mod_computer Modifies computer
- auto ld_rename_computer(LDHandle* handle, const char* old_name, const char* new_name, const char* parent) -> enum OperationReturnCode
- ld_rename_computer Renames computer
Function documentation
enum OperationReturnCode ld_add_computer(LDHandle* handle,
const char* name,
LDAPAttribute_ t** attrs,
const char* parent)
ld_add_computer Creates new computer
Parameters | |
---|---|
handle in | LibDomain handle |
name in | name of the computer |
attrs in | Attributes of the computer |
parent in | Parent container of the computer. |
Returns |
|
enum OperationReturnCode ld_del_computer(LDHandle* handle, const char* name, const char* parent)
ld_del_computer Deletes computer
Parameters | |
---|---|
handle in | Pointer to libdomain session handle. |
name in | Name of the computer. |
parent in | Parent container of the computer. |
Returns |
|
enum OperationReturnCode ld_mod_computer(LDHandle* handle,
const char* name,
const char* parent,
LDAPAttribute_ t** computer_attrs)
ld_mod_computer Modifies computer
Parameters | |
---|---|
handle in | Pointer to libdomain session handle. |
name in | Name of the computer. |
parent in | Parent container of the computer. |
computer_attrs in | List of the attributes to modify. |
Returns |
|
enum OperationReturnCode ld_rename_computer(LDHandle* handle, const char* old_name, const char* new_name, const char* parent)
ld_rename_computer Renames computer
Parameters | |
---|---|
handle in | Pointer to libdomain session handle. |
old_name in | Old name of the computer. |
new_name in | New name of the computer. |
parent in | Parent container of the computer. |
Returns |
|