Functions
common.cpp File Reference
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <signal.h>
#include <string.h>
#include "common.h"
Include dependency graph for common.cpp:

Go to the source code of this file.

Functions

void do_exit (int error, HANDLE h)
char const * getNameOfInterface (int nType)
void print_diag (const char *prgName, HANDLE h)
void signal_handler (int signal)

Function Documentation

void do_exit ( int  error,
HANDLE  h 
)

The function is based on the do_exit() function from both the transmi- and receivetest programs.

Definition at line 29 of file common.cpp.

char const* getNameOfInterface ( int  nType)

The function is copied from the common.cpp file used by both the transmi- and receivetest

Definition at line 48 of file common.cpp.

void print_diag ( const char *  prgName,
HANDLE  h 
)

The function is copied from the common.cpp file used by both the transmi- and receivetest

Definition at line 70 of file common.cpp.

void signal_handler ( int  signal)

The function is based on the signal_handler() function from the receivetest program.

Definition at line 17 of file common.cpp.



pcan_topics
Author(s):
autogenerated on Thu Jun 6 2019 17:40:04