Files
org-hyperion-cules/w32ctca.h
T
Jan Jaeger c3e5e9965b New CTC and LCS emulation - Jim Pierson
Add SVCA to z/Architecture mode - Jan Jaeger


git-svn-id: file:///home/jj/hercules.svn/trunk@1027 956126f8-22a0-4046-8f4a-272fa8102e63
2002-11-14 18:28:38 +00:00

43 lines
1.5 KiB
C

////////////////////////////////////////////////////////////////////////////////////
// w32ctca.h CTCI-W32 (Channel to Channel link to Win32 TCP/IP stack)
////////////////////////////////////////////////////////////////////////////////////
// (c) Copyright "Fish" (David B. Trout), 2002. Released under the Q Public License
// (http://www.conmicro.cx/hercules/herclic.html) as modifications to Hercules.
////////////////////////////////////////////////////////////////////////////////////
#ifndef _W32CTCA_H_
#define _W32CTCA_H_
/* #if defined(OPTION_W32_CTCI) */
#define MAX_TT32_DLLNAMELEN (512)
#define DEF_TT32_DLLNAME "TunTap32.dll"
extern char g_tt32_dllname [MAX_TT32_DLLNAMELEN];
extern FILE* g_tt32_msgpipew;
extern void tt32_init
(
FILE* msgpipew // (needed for issuing msgs to Herc console)
);
#define MIN_TT32DRV_BUFFSIZE_K ( 128)
#define DEF_TT32DRV_BUFFSIZE_K (1024)
#define MAX_TT32DRV_BUFFSIZE_K (8192)
#define MIN_TT32DLL_BUFFSIZE_K ( 8)
#define DEF_TT32DLL_BUFFSIZE_K ( 64)
#define MAX_TT32DLL_BUFFSIZE_K (8192)
extern int tt32_open(char* pszGatewayDevice, int iFlags);
extern int tt32_read(int fd, u_char* buffer, u_long size);
extern int tt32_write(int fd, u_char* buffer, u_long size);
extern int tt32_close (int fd);
extern int tt32_ioctl(int fd, int iRequest, char* argp);
extern const char* tt32_get_default_iface();
extern int display_tt32_stats (int fd);
/* #endif // defined(OPTION_W32_CTCI) */
#endif // _W32CTCA_H_