Go to the source code of this file.
Macros | |
| #define | UUID_BINSIZE 16 |
| #define | UUIDTYPESTR_MASK 3 |
Typedefs | |
| typedef const unsigned char * | uuidp_t |
| typedef unsigned char | atalk_uuid_t[UUID_BINSIZE] |
Enumerations | |
| enum | uuidtype_t { UUID_USER = 1 , UUID_GROUP = 2 , UUID_ENOENT = 4 } |
Functions | |
| int | getuuidfromname (const char *name, uuidtype_t type, unsigned char *uuid) |
| int | getnamefromuuid (const unsigned char *uuid, char **name, uuidtype_t *type) |
| void | localuuid_from_id (unsigned char *buf, uuidtype_t type, unsigned int id) |
| const char * | uuid_bin2string (const unsigned char *uuid) |
| Convert 16 byte binary uuid to neat ascii represantation including dashes. | |
| void | uuid_string2bin (const char *uuidstring, unsigned char *uuid) |
| convert ascii string that can include dashes to binary uuid. | |
| void | uuidcache_dump (void) |
Variables | |
| char * | uuidtype [] |
| #define UUID_BINSIZE 16 |
| #define UUIDTYPESTR_MASK 3 |
| typedef unsigned char atalk_uuid_t[UUID_BINSIZE] |
| typedef const unsigned char* uuidp_t |
| enum uuidtype_t |
|
extern |
| uuidp | pointer to a uuid |
| name | returns allocated buffer from ldap_getnamefromuuid |
| type | returns USER, GROUP or LOCAL |
|
extern |
| name | give me his name |
| type | and type (UUID_USER or UUID_GROUP) |
| uuid | pointer to uuid_t storage that the caller must provide |
|
extern |
|
extern |
Convert 16 byte binary uuid to neat ascii represantation including dashes.
Use defined or default ascii mask for dash placement
|
extern |
convert ascii string that can include dashes to binary uuid.
|
extern |
|
extern |