#include <libmapi/libmapi.h>
#include "config.h"
Functions | |
_PUBLIC_ char * | x500_get_dn_element (TALLOC_CTX *mem_ctx, const char *dn, const char *element) |
_PUBLIC_ char * | x500_get_servername (const char *dn) |
Retrieve the servername from a string We should definitively find a better way to handle this. | |
_PUBLIC_ char * | x500_truncate_dn_last_elements (TALLOC_CTX *mem_ctx, const char *dn, uint32_t elcount) |
_PUBLIC_ char* x500_get_dn_element | ( | TALLOC_CTX * | mem_ctx, | |
const char * | dn, | |||
const char * | element | |||
) |
Extract a DN element from a given DN
mem_ctx | pointer to the memory context | |
dn | pointer to a valid DN | |
element | pointer to the substring where extraction should start |
Referenced by GetUserFreeBusyData(), and ProcessNetworkProfile().
_PUBLIC_ char* x500_get_servername | ( | const char * | dn | ) |
Retrieve the servername from a string We should definitively find a better way to handle this.
References SERVERNAME.
Referenced by ProcessNetworkProfile().
_PUBLIC_ char* x500_truncate_dn_last_elements | ( | TALLOC_CTX * | mem_ctx, | |
const char * | dn, | |||
uint32_t | elcount | |||
) |
Truncate a DN element
mem_ctx | pointer to the memory context | |
dn | pointer to a valid DN | |
elcount | the number of elements to remove from the end of the DN |
![]() ![]() ![]() |
This content is licensed under the Creative Commons Attribution ShareAlike License v. 3.0: http://creativecommons.org/licenses/by-sa/3.0/ |