aboutsummaryrefslogtreecommitdiffstats
path: root/ldid.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'ldid.hpp')
-rw-r--r--ldid.hpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/ldid.hpp b/ldid.hpp
new file mode 100644
index 0000000..ad85f03
--- /dev/null
+++ b/ldid.hpp
@@ -0,0 +1,17 @@
+#ifndef LDID_HPP
+#define LDID_HPP
+
+#include <cstdlib>
+#include <map>
+#include <streambuf>
+#include <string>
+
+namespace ldid {
+
+typedef std::map<uint32_t, std::string> Slots;
+
+void Sign(void *idata, size_t isize, std::streambuf &output, const std::string &name, const std::string &entitlements, const std::string &key, const Slots &slots);
+
+}
+
+#endif//LDID_HPP