summaryrefslogtreecommitdiff
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 @@
23 23
24#include "protocol.h" 24#include "protocol.h"
25 25
26/* do target specific init */
26void target_init(void); 27void target_init(void);
28/* exit, performing the atexit action (default is target specific) */
27void target_exit(void); 29void target_exit(void);
28/* return actual size or -1 if error */ 30/* get information, return actual size or -1 if error */
29int target_get_info(int info, void **buffer); 31int target_get_info(int info, void **buffer);
32/* set atexit action or return -1 on error */
33int target_atexit(int action);
30 34
31#endif /* __TARGET_H__ */ 35#endif /* __TARGET_H__ */