$darkmode
#include <atalk/uuid.h>Go to the source code of this file.
Functions | |
| int | ldap_getuuidfromname (const char *name, uuidtype_t type, char **uuid_string) |
| Search UUID for name in LDAP. More... | |
| int | ldap_getnamefromuuid (const char *uuidstr, char **name, uuidtype_t *type) |
| LDAP search wrapper. More... | |
| int ldap_getnamefromuuid | ( | const char * | uuidstr, |
| char ** | name, | ||
| uuidtype_t * | type | ||
| ) |
LDAP search wrapper.
returns allocated storage in name, caller must free it
| [in] | uuidstr | uuid to search as ascii string |
| [out] | name | return pointer to name as allocated string |
| [out] | type | return type: USER or GROUP |
| int ldap_getuuidfromname | ( | const char * | name, |
| uuidtype_t | type, | ||
| char ** | uuid_string | ||
| ) |
Search UUID for name in LDAP.
Caller must free uuid_string when done with it
| [in] | name | name to search |
| [in] | type | type of USER or GROUP |
| [out] | uuid_string | result as pointer to allocated UUID-string |