From 7006a9452ced3aa6d5e227ff08f697d422e5ef1a Mon Sep 17 00:00:00 2001 From: jpandre Date: Fri, 28 Sep 2007 06:59:53 +0000 Subject: [PATCH] Fixed and improved comments --- include/ntfs-3g/security.h | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/include/ntfs-3g/security.h b/include/ntfs-3g/security.h index 4a90ee14..1475bdba 100644 --- a/include/ntfs-3g/security.h +++ b/include/ntfs-3g/security.h @@ -39,7 +39,7 @@ struct MAPPING { }; /* - * Security context, needed by most security functions + * Entry in the security cache */ struct SECURITY_ENTRY { @@ -49,6 +49,10 @@ struct SECURITY_ENTRY { unsigned int valid:1; } ; +/* + * Header of the security cache + */ + struct SECURITY_HEAD { int first; int last; @@ -58,11 +62,19 @@ struct SECURITY_HEAD { unsigned long writes; } ; +/* + * The whole security cache + */ + struct SECURITY_CACHE { struct SECURITY_HEAD head; - struct SECURITY_ENTRY cachetable[1]; + struct SECURITY_ENTRY cachetable[1]; /* array of variable size */ } ; +/* + * Security context, needed by most security functions + */ + struct SECURITY_CONTEXT { ntfs_volume *vol; struct MAPPING *usermapping;