Main Page
Classes
Files
File List
File Members
src
common.h
Go to the documentation of this file.
1
//****************************************************************************
2
// INCLUDES
3
#include <libpcan.h>
4
5
6
7
#ifdef __cplusplus
8
extern
"C"
9
{
10
#endif
11
12
13
void
signal_handler
(
int
signal);
14
15
void
do_exit
(
int
error, HANDLE h);
16
17
// the opposite: lookup for device string out of HW_.. constant
18
char
const
*
getNameOfInterface
(
int
nType);
19
20
// print out device and channel diagnostics
21
void
print_diag
(
const
char
*prgName, HANDLE h);
22
#ifdef __cplusplus
23
}
24
#endif
25
getNameOfInterface
char const * getNameOfInterface(int nType)
Definition:
common.cpp:49
do_exit
void do_exit(int error, HANDLE h)
Definition:
common.cpp:29
signal_handler
void signal_handler(int signal)
Definition:
common.cpp:17
print_diag
void print_diag(const char *prgName, HANDLE h)
Definition:
common.cpp:72
pcan_topics
Author(s):
autogenerated on Sun Dec 14 2014 19:01:10