00001 //**************************************************************************** 00002 // INCLUDES 00003 #include <libpcan.h> 00004 00005 00006 00007 #ifdef __cplusplus 00008 extern "C" 00009 { 00010 #endif 00011 00012 00013 void signal_handler(int signal); 00014 00015 void do_exit(int error, HANDLE h); 00016 00017 // the opposite: lookup for device string out of HW_.. constant 00018 char const* getNameOfInterface(int nType); 00019 00020 // print out device and channel diagnostics 00021 void print_diag(const char *prgName, HANDLE h); 00022 #ifdef __cplusplus 00023 } 00024 #endif 00025