3 * Macros and structures for security descriptors
5 * From Microsoft's public documentation and the WINE project
12 #ifndef _WIMLIB_SECURITY_H
13 #define _WIMLIB_SECURITY_H
15 /* Red-black tree that maps SHA1 message digests of security descriptors to
16 * security IDs, which are themselves indices into the table of security
17 * descriptors in the 'struct wim_security_data'. */
19 struct wim_security_data *sd;
20 struct rb_root rb_root;
22 void destroy_sd_set(struct sd_set *sd_set);
23 int lookup_sd(struct sd_set *set, const u8 hash[SHA1_HASH_SIZE]);
24 int sd_set_add_sd(struct sd_set *sd_set, const char descriptor[],
27 #endif /* _WIMLIB_SECURITY_H */