Go to the source code of this file.
◆ UUID_BINSIZE
◆ UUIDTYPESTR_MASK
| #define UUIDTYPESTR_MASK 3 |
◆ atalk_uuid_t
◆ uuidp_t
| typedef const unsigned char* uuidp_t |
◆ uuidtype_t
used as bit flag
| Enumerator |
|---|
| UUID_USER | |
| UUID_GROUP | |
| UUID_ENOENT | |
◆ getnamefromuuid()
- Parameters
-
| uuidp | pointer to a uuid |
| name | returns allocated buffer from ldap_getnamefromuuid |
| type | returns USER, GROUP or LOCAL |
- Returns
- 0 on success !=0 on errror
- Note
- Caller must free name appropriately.
◆ getuuidfromname()
| int getuuidfromname |
( |
const char * | name, |
|
|
uuidtype_t | type, |
|
|
unsigned char * | uuid ) |
|
extern |
- Parameters
-
| name | give me his name |
| type | and type (UUID_USER or UUID_GROUP) |
| uuid | pointer to uuid_t storage that the caller must provide |
- Returns
- 0 on success !=0 on errror
◆ localuuid_from_id()
| void localuuid_from_id |
( |
unsigned char * | buf, |
|
|
uuidtype_t | type, |
|
|
unsigned int | id ) |
|
extern |
◆ uuid_bin2string()
| const char * uuid_bin2string |
( |
const unsigned char * | uuid | ) |
|
|
extern |
Convert 16 byte binary uuid to neat ascii represantation including dashes.
Use defined or default ascii mask for dash placement
- Returns
- pointer to static buffer
◆ uuid_string2bin()
| void uuid_string2bin |
( |
const char * | uuidstring, |
|
|
unsigned char * | uuid ) |
|
extern |
convert ascii string that can include dashes to binary uuid.
- Note
- caller must provide a buffer.
◆ uuidcache_dump()
| void uuidcache_dump |
( |
void | | ) |
|
|
extern |
◆ uuidtype