summaryrefslogtreecommitdiffstats
path: root/utils/hwstub/stub/target.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/hwstub/stub/target.h')
-rw-r--r--utils/hwstub/stub/target.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/utils/hwstub/stub/target.h b/utils/hwstub/stub/target.h
index 3f1551c72d..56c960741f 100644
--- a/utils/hwstub/stub/target.h
+++ b/utils/hwstub/stub/target.h
@@ -23,9 +23,13 @@
#include "protocol.h"
+/* do target specific init */
void target_init(void);
+/* exit, performing the atexit action (default is target specific) */
void target_exit(void);
-/* return actual size or -1 if error */
+/* get information, return actual size or -1 if error */
int target_get_info(int info, void **buffer);
+/* set atexit action or return -1 on error */
+int target_atexit(int action);
#endif /* __TARGET_H__ */