diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2015-09-27 15:02:22 -0700 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2015-09-27 15:06:47 -0700 |
commit | a0c715e9c070b60702407b8713b3874593ff833d (patch) | |
tree | 9633f6d11c8fe750ad4d9479a07331758e09e812 /ldid.hpp | |
parent | 34f4c1d83e1746db11f245349b3131180348d04c (diff) | |
download | ldid-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.hpp | 17 |
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 |