diff options
Diffstat (limited to 'utils/hwstub/stub/target.h')
-rw-r--r-- | utils/hwstub/stub/target.h | 6 |
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 */ | ||
26 | void target_init(void); | 27 | void target_init(void); |
28 | /* exit, performing the atexit action (default is target specific) */ | ||
27 | void target_exit(void); | 29 | void target_exit(void); |
28 | /* return actual size or -1 if error */ | 30 | /* get information, return actual size or -1 if error */ |
29 | int target_get_info(int info, void **buffer); | 31 | int target_get_info(int info, void **buffer); |
32 | /* set atexit action or return -1 on error */ | ||
33 | int target_atexit(int action); | ||
30 | 34 | ||
31 | #endif /* __TARGET_H__ */ | 35 | #endif /* __TARGET_H__ */ |