X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=libatalk%2Facl%2Fcache.h;h=11731a26c69d5bdeb683be1667a8c2c6bd351e03;hb=b0bcb8f6b0571592a50ce039882c9319e012a270;hp=c83be1cd16dbd4a2152724c2343838b6a0f15d90;hpb=313b5f94348618d65523c1d8bde1fba9988f040a;p=netatalk.git diff --git a/libatalk/acl/cache.h b/libatalk/acl/cache.h index c83be1cd..11731a26 100644 --- a/libatalk/acl/cache.h +++ b/libatalk/acl/cache.h @@ -32,24 +32,8 @@ * 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);