]> wimlib.net Git - wimlib/blobdiff - src/security.h
Refactor headers
[wimlib] / src / security.h
diff --git a/src/security.h b/src/security.h
deleted file mode 100644 (file)
index e20ad16..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-#include "util.h"
-#include "rbtree.h"
-#include "sha1.h"
-
-#ifndef _WIMLIB_SECURITY_H
-#define _WIMLIB_SECURITY_H
-
-/* Red-black tree that maps SHA1 message digests of security descriptors to
- * security IDs, which are themselves indices into the table of security
- * descriptors in the 'struct wim_security_data'. */
-struct sd_set {
-       struct wim_security_data *sd;
-       struct rb_root rb_root;
-       int32_t orig_num_entries;
-};
-extern void
-destroy_sd_set(struct sd_set *sd_set, bool rollback);
-
-extern int
-lookup_sd(struct sd_set *set, const u8 hash[SHA1_HASH_SIZE]);
-
-extern int
-sd_set_add_sd(struct sd_set *sd_set, const char descriptor[],
-             size_t size);
-
-extern int
-init_sd_set(struct sd_set *sd_set, struct wim_security_data *sd);
-
-#endif /* _WIMLIB_SECURITY_H */