regfi
Data Structures | Functions
winsec.h File Reference

A small library for interpreting Windows Security Descriptors. More...

Include dependency graph for winsec.h:

Go to the source code of this file.

Data Structures

struct  WINSEC_UUID
 XXX: document this. More...
 
struct  WINSEC_DOM_SID
 XXX: document this. More...
 
struct  WINSEC_ACE
 XXX: document this. More...
 
struct  WINSEC_ACL
 XXX: document this. More...
 
struct  WINSEC_DESC
 XXX: document this. More...
 

Functions

WINSEC_DESCwinsec_parse_descriptor (const uint8_t *buf, uint32_t buf_len)
 XXX: finish documenting.
 
void winsec_free_descriptor (WINSEC_DESC *desc)
 XXX: finish documenting.
 
WINSEC_DESCwinsec_parse_desc (void *talloc_ctx, const uint8_t *buf, uint32_t buf_len)
 XXX: finish documenting.
 
WINSEC_ACLwinsec_parse_acl (void *talloc_ctx, const uint8_t *buf, uint32_t buf_len)
 XXX: finish documenting.
 
WINSEC_ACEwinsec_parse_ace (void *talloc_ctx, const uint8_t *buf, uint32_t buf_len)
 XXX: finish documenting.
 
WINSEC_DOM_SIDwinsec_parse_dom_sid (void *talloc_ctx, const uint8_t *buf, uint32_t buf_len)
 XXX: finish documenting.
 
WINSEC_UUIDwinsec_parse_uuid (void *talloc_ctx, const uint8_t *buf, uint32_t buf_len)
 XXX: finish documenting.
 
size_t winsec_sid_size (const WINSEC_DOM_SID *sid)
 XXX: finish documenting.
 
int winsec_sid_compare_auth (const WINSEC_DOM_SID *sid1, const WINSEC_DOM_SID *sid2)
 XXX: finish documenting.
 
int winsec_sid_compare (const WINSEC_DOM_SID *sid1, const WINSEC_DOM_SID *sid2)
 XXX: finish documenting.
 
bool winsec_sid_equal (const WINSEC_DOM_SID *sid1, const WINSEC_DOM_SID *sid2)
 XXX: finish documenting.
 
char * winsec_sid2str (const WINSEC_DOM_SID *sid)
 XXX: finish documenting.
 
bool winsec_desc_equal (WINSEC_DESC *s1, WINSEC_DESC *s2)
 XXX: finish documenting.
 
bool winsec_acl_equal (WINSEC_ACL *s1, WINSEC_ACL *s2)
 XXX: finish documenting.
 
bool winsec_ace_equal (WINSEC_ACE *s1, WINSEC_ACE *s2)
 XXX: finish documenting.
 
bool winsec_ace_object (uint8_t type)
 XXX: finish documenting.
 

Detailed Description

A small library for interpreting Windows Security Descriptors.

This library was originally based on Samba source from: http://websvn.samba.org/cgi-bin/viewcvs.cgi/trunk/source/

The library has been heavily rewritten and improved based on information provided by Microsoft at: http://msdn.microsoft.com/en-us/library/cc230366%28PROT.10%29.aspx