]> arthur.barton.de Git - netatalk.git/blobdiff - libatalk/acl/cache.c
Merge branch-2-1
[netatalk.git] / libatalk / acl / cache.c
index 538ff33d8ddd85d09acd1864e82182b96ba2bd55..519113ebf704ac2b855bb2c1eb916c6015684ee3 100644 (file)
@@ -195,6 +195,9 @@ cleanup:
     return ret;
 }
 
+/* 
+ * Caller provides buffer uuid for result
+ */
 int search_cachebyname( const char *name, uuidtype_t type, uuidp_t uuid) {
     int ret;
     unsigned char hash;
@@ -248,6 +251,9 @@ int search_cachebyname( const char *name, uuidtype_t type, uuidp_t uuid) {
     return -1;
 }
 
+/* 
+ * Caller must free allocated name
+ */
 int search_cachebyuuid( uuidp_t uuidp, char **name, uuidtype_t *type) {
     int ret;
     unsigned char hash;