aboutsummaryrefslogtreecommitdiffstats
path: root/ldid.hpp
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2015-09-27 15:02:22 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2015-09-27 15:06:47 -0700
commita0c715e9c070b60702407b8713b3874593ff833d (patch)
tree9633f6d11c8fe750ad4d9479a07331758e09e812 /ldid.hpp
parent34f4c1d83e1746db11f245349b3131180348d04c (diff)
downloadldid-a0c715e9c070b60702407b8713b3874593ff833d.tar.gz
ldid-a0c715e9c070b60702407b8713b3874593ff833d.tar.zst
ldid-a0c715e9c070b60702407b8713b3874593ff833d.zip
Rename resign to Sign and put into ldid namespace.
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