Payout
A thin wrapper around the SSP protocol from ITL
port_linux.h
1 #ifndef BASIC_DEMO6_LINUX_H
2 #define BASIC_DEMO6_LINUX_H
3 
4 #ifdef INCLUDED_PORT
5 #error "Multiple ports included"
6 #endif
7 #define INCLUDED_PORT
8 
9 #include "SSPComs.h"
10 
11 // Linux does not need to do any initialisation for the SSP library
12 #define init_lib()
13 
14 void changemode(int dir);
15 int kbhit (void);
16 
17 int open_ssp_port (const char *port);
18 void close_ssp_port ();
19 int send_ssp_command(SSP_COMMAND *sspC);
20 int negotiate_ssp_encryption(SSP_COMMAND *sspC, SSP_FULL_KEY * hostKey);
21 
22 #endif
Definition: port_win32_ssp.h:35
Definition: port_win32_ssp.h:30