aboutsummaryrefslogtreecommitdiff
path: root/trampoline.h
diff options
context:
space:
mode:
Diffstat (limited to 'trampoline.h')
-rw-r--r--trampoline.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/trampoline.h b/trampoline.h
index 35624a9..67cbd33 100644
--- a/trampoline.h
+++ b/trampoline.h
@@ -1,8 +1,12 @@
+#include "sha1.h"
+
int tramp_init(const char *preferred_platform);
void tramp_destroy(void);
int tramp_load_kernel(const char *filename);
char *tramp_get_build_log(void);
int tramp_compile_kernel(void);
-int tramp_set_kernel_args(unsigned long size, unsigned long iterations);
+int tramp_set_kernel_args(unsigned int raw_len);
int tramp_run_kernel(void);
int tramp_copy_data(void **buffer, size_t size);
+int tramp_copy_sha(struct sha_data *sha);
+int tramp_copy_search(unsigned char search_raw[10]);