]> arthur.barton.de Git - netatalk.git/blobdiff - libatalk/acl/cache.h
Merge master
[netatalk.git] / libatalk / acl / cache.h
index c83be1cd16dbd4a2152724c2343838b6a0f15d90..11731a26c69d5bdeb683be1667a8c2c6bd351e03 100644 (file)
  * Interface
  ********************************************************/
 
-/* 
- *   name: search for this name
- *   type: of type USER or GROUP
- *   uuid: if found copies uuid into this buffer
- * returns 0 on success, !=0 if not found or on errors
- */
-extern int search_cachebyname( const char *name, uuidtype_t type, unsigned char *uuid);
-
-/* 
- *   inname: name
- *   inuuid: uuid
- *   type: USER or GROUP
- *   (uid: unused)
- * returns 0 on success, !=0 on memory errors
- */
+extern int search_cachebyname( const char *name, uuidtype_t *type, unsigned char *uuid);
 extern int add_cachebyname( const char *inname, const uuidp_t inuuid, const uuidtype_t type, const unsigned long uid);
-
-/* same as above but for the uuid cache */
 extern int search_cachebyuuid( uuidp_t uuidp, char **name, uuidtype_t *type);
 extern int add_cachebyuuid( uuidp_t inuuid, const char *inname, uuidtype_t type, const unsigned long uid);