Go to the source code of this file.
|
int | search_cachebyname (const char *name, uuidtype_t *type, unsigned char *uuid) |
int | add_cachebyname (const char *inname, const uuidp_t inuuid, const uuidtype_t type, const unsigned long uid) |
int | search_cachebyuuid (uuidp_t uuidp, char **name, uuidtype_t *type) |
int | add_cachebyuuid (uuidp_t inuuid, const char *inname, uuidtype_t type, const unsigned long uid) |
◆ CACHESECONDS
◆ add_cachebyname()
int add_cachebyname |
( |
const char * | inname, |
|
|
const uuidp_t | inuuid, |
|
|
const uuidtype_t | type, |
|
|
const unsigned long | uid ) |
|
extern |
◆ add_cachebyuuid()
int add_cachebyuuid |
( |
uuidp_t | inuuid, |
|
|
const char * | inname, |
|
|
uuidtype_t | type, |
|
|
const unsigned long | uid ) |
|
extern |
◆ search_cachebyname()
int search_cachebyname |
( |
const char * | name, |
|
|
uuidtype_t * | type, |
|
|
unsigned char * | uuid ) |
|
extern |
Search cache by name and uuid type
- Parameters
-
name | (r) name to search |
type | (rw) type (user or group) of name, returns found type here which might mark it as a negative entry |
uuid | (w) found uuid is returned here |
- Returns
- 0 on success, entry found -1 no entry found
◆ search_cachebyuuid()