1 #ifndef SHUTDOWN_H 2 #define SHUTDOWN_H 3 4 // CHDK Shutdown / reboot interface 5 6 // Note: used in modules and platform independent code. 7 // Do not add platform dependent stuff in here (#ifdef/#endif compile options or camera dependent values) 8 9 /* 10 reboot, optionally loading a different binary 11 see lib/armutil/reboot.c for documentation 12 */ 13 int reboot(const char *bootfile); // ARM code 14 void camera_shutdown_in_a_second(void); 15 void disable_shutdown(); 16 void enable_shutdown(); 17 void __attribute__((noreturn)) shutdown(); 18 19 #endif 20