File nut/app/rs232d_select/rs232d.c


Included Files


Preprocessor definitions

#define BUFFERSIZE 128

#define TCPPORT 23

#define max( a, b )


Typedef CHANNEL

typedef struct {...} CHANNEL
struct  
   {  
      FILE* cd_rs232;  
      FILE* cd_tcpip;  
   }  

Global Function NutAppMain()

int NutAppMain ( void )
Calls: StreamCopy() nut/app/rs232d_select/rs232d.c
  NutDhcpIfConfig(), NutNetIfConfig(), NutRegisterDevice(), NutTcpAccept(), NutTcpCloseSocket(), NutTcpCreateSocket(), _fdopen(), _fileno(), _ioctl(), fclose(), fopen(), inet_addr()

Global Function StreamCopy()

void StreamCopy ( FILE* stream_sock, FILE* stream_uart )
Calls: _fileno(), fflush(), fread(), free(), fwrite(), malloc(), memset(), select()
Called by: NutAppMain() nut/app/rs232d_select/rs232d.c