5 #ifndef _WIMLIB_SECURITY_H
6 #define _WIMLIB_SECURITY_H
8 /* Red-black tree that maps SHA1 message digests of security descriptors to
9 * security IDs, which are themselves indices into the table of security
10 * descriptors in the 'struct wim_security_data'. */
12 struct wim_security_data *sd;
13 struct rb_root rb_root;
14 int32_t orig_num_entries;
17 destroy_sd_set(struct sd_set *sd_set, bool rollback);
20 lookup_sd(struct sd_set *set, const u8 hash[SHA1_HASH_SIZE]);
23 sd_set_add_sd(struct sd_set *sd_set, const char descriptor[],
27 init_sd_set(struct sd_set *sd_set, struct wim_security_data *sd);
29 #endif /* _WIMLIB_SECURITY_H */