#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <signal.h>
#include <string.h>
#include "common.h"
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) |
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.