aboutsummaryrefslogtreecommitdiff
path: root/subhook_private.h
diff options
context:
space:
mode:
authorZeex <zeex@rocketmail.com>2013-01-15 03:57:07 +0700
committerZeex <zeex@rocketmail.com>2013-01-15 03:57:07 +0700
commit75f746195d54a90480431c42b126bb9be952bfd8 (patch)
tree192b9ff0a516aaebd1b7e4d33b8bee2710fca31b /subhook_private.h
parent8347e1a37008e2ae73e97080c4e8455fd2213815 (diff)
downloadsubhook-75f746195d54a90480431c42b126bb9be952bfd8.zip
subhook-75f746195d54a90480431c42b126bb9be952bfd8.tar.gz
subhook-75f746195d54a90480431c42b126bb9be952bfd8.tar.bz2
Move arch initialization/cleanup to subhook_arch_{new,free}
Diffstat (limited to 'subhook_private.h')
-rw-r--r--subhook_private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/subhook_private.h b/subhook_private.h
index 1de11cf..bd66e2f 100644
--- a/subhook_private.h
+++ b/subhook_private.h
@@ -33,4 +33,7 @@ struct subhook {
void *arch; /* architecture-specific information */
};
+int subhook_arch_new(struct subhook *hook);
+void subhook_arch_free(struct subhook *hook);
+
#endif /* SUBHOOK_PRIVATE_H */