⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ckcdeb.h

📁 C-Kermit源码。是使用串口/Modem和网络通讯的程序
💻 H
📖 第 1 页 / 共 5 页
字号:
#endif /* NETCMD */#endif /* UNIX *//* Pty support, nonportable, available on a case-by-case basis */#ifndef NOPTY#ifdef NEXT				/* NeXTSTEP (tested on 3.1)*/#define NETPTY#else#ifdef CK_SCOV5				/* SCO OSR5 (tested on 5.0.5)*/#define NETPTY#else#ifdef QNX				/* QNX (tested on 4.25) */#define NETPTY#else#ifdef SINIX                            /* Sinix (tested on 5.42) */#define NETPTY#else#ifdef DGUX540				/* DG/UX 5.4++ (tested on 5.4R4.11) */#define NETPTY#else#ifdef OSF32				/* Digital Unix 3.2 */#define NETPTY#else#ifdef OSF40				/* Digital Unix 4.0 / Tru64 */#define NETPTY#else#ifdef IRIX60				/* IRIX 6.0 (not earlier) */#define NETPTY#else#ifdef HPUX10				/* HPUX 10.00 or later */#define NETPTY#ifndef HAVE_PTYTRAP#define HAVE_PTYTRAP#endif /* HAVE_PTYTRAP */#else#ifdef HPUX9				/* HPUX 9.00 (not earlier) */#define NETPTY#ifndef HAVE_PTYTRAP#define HAVE_PTYTRAP#endif /* HAVE_PTYTRAP */#else#ifdef BSD44				/* BSD44, {Net,Free,Open}BSD */#define NETPTY#else#ifdef BSDI				/* BSDI/OS (tested in 4) */#define NETPTY#else#ifdef SOLARIS				/* Solaris (tested in 2.5) */#define NETPTY#else#ifdef UW7				/* Unixware 7 */#define NETPTY#else#ifdef SUNOS41				/* SunOS (tested in 4.1.3) */#define NETPTY#else#ifdef AIX41				/* AIX 4.1 and later */#define NETPTY#else#ifdef LINUX				/* Linux */#define NETPTY#endif /* LINUX */#endif /* AIX41 */#endif /* SUNOS41 */#endif /* UW7 */#endif /* SOLARIS */#endif /* BSDI */#endif /* BSD44 */#endif /* HPUX9 */#endif /* HPUX10 */#endif /* IRIX60 */#endif /* OSF40 */#endif /* OSF32 */#endif /* DGUX540 */#endif /* SINIX */#endif /* QNX */#endif /* CK_SCOV5 */#endif /* NEXT */#else /* NOPTY */#ifdef NETPTY#undef NETPTY#endif /* NETPTY */#endif /* NOPTY */#ifdef NETPTY                           /* NETCMD required for NETPTY */#ifndef NETCMD#define NETCMD#endif /* NETCMD */#endif /* NETPTY */#ifndef CK_UTSNAME			/* Can we call uname()? */#ifdef VMS#define CK_UTSNAME#else#ifdef OS2#define CK_UTSNAME#else#ifdef POSIX				/* It's in POSIX.1 */#define CK_UTSNAME#else#ifdef SUNOS41				/* It's in SunOS 4.1 */#define CK_UTSNAME#else#ifdef AIXRS				/* It's in AIX */#define CK_UTSNAME#else#ifdef SVR4				/* It's in SVR4 (but not SVR3) */#define CK_UTSNAME#else#ifdef HPUX				/* It's in HP-UX 5.00 and later */#define CK_UTSNAME#else#ifdef OSF				/* It's in OSF/1 / Digital UNIX */#define CK_UTSNAME#else#ifdef CK_SCOV5#define CK_UTSNAME#endif /* CK_SCOV5 */#endif /* OSF */#endif /* HPUX */#endif /* SVR4 */#endif /* AIXRS */#endif /* SUNOS41 */#endif /* POSIX */#endif /* OS2 */#endif /* VMS */#endif /* CK_UTSNAME *//* This section for anything that might use floating-point *//* If the following causes trouble use -DFLOAT=float on the command line */#ifndef NOFLOAT#ifndef CKFLOAT#ifdef __alpha/* Don't use double on 64-bit platforms -- bad things happen */#define CKFLOAT float#define CKFLOAT_S "float"#else#define CKFLOAT double#define CKFLOAT_S "double"#endif /* __alpha */#endif /* CKFLOAT */#ifndef NOGFTIMER			/* Floating-point timers */#ifndef GFTIMER#ifdef UNIX				/* For UNIX */#define GFTIMER#endif /* UNIX */#ifdef VMS				/* VMS */#ifndef OLD_VMS				/* 5.0 and later */#define GFTIMER#endif /* OLD_VMS */#endif /* VMS */#ifdef OS2				/* And K95 */#define GFTIMER#endif /* OS2 */#ifdef STRATUS				/* And Stratus VOS */#define GFTIMER#endif /* STRATUS */#endif /* GFTIMER */#endif /* NOGFTIMER */#ifdef NOSPL#ifdef FNFLOAT#undef FNFLOAT#endif /* FNFLOAT */#endif /* NOSPL */#ifndef NOSPL#ifndef FNFLOAT				/* Floating-point math functions */#ifdef VMS				/* defined by default in VMS */#define FNFLOAT#else#ifdef OS2				/* and K95 */#define FNFLOAT#endif /* OS2 */#endif /* VMS */#endif /* FNFLOAT */#endif /* NOSPL */#else  /* NOFLOAT is defined */#ifdef CKFLOAT#undef CKFLOAT#endif /* CKFLOAT */#ifdef GFTIMER#undef GFTIMER#endif /* GFTIMER */#ifdef FNFLOAT#undef FNFLOAT#endif /* FNFLOAT */#endif /* NOFLOAT */#ifdef GFTIMER				/* Fraction of second to use when */#ifndef GFMINTIME			/* elapsed time is <= 0 */#define GFMINTIME 0.005#endif /* GFMINTIME */#endif /* GFTIMER */#ifndef CKCMAIextern long ztmsec, ztusec;		/* Fraction of sec of current time */#endif /* CKCMAI */#ifndef NOUNPREFIXZERO			/* Allow unprefixing of  NUL (0) */#ifndef UNPREFIXZERO			/* in file-transfer packets */#define UNPREFIXZERO#endif /* UNPREFIXZERO */#endif /* NOUNPREFIXZERO */#ifdef CK_SMALL#define NOCAL				/* Calibrate */#endif /* CK_SMALL */#ifndef NOPATTERNS			/* Filetype matching patterns */#ifndef PATTERNS#ifndef VMS#ifndef CK_SMALL#define PATTERNS#endif /* CK_SMALL */#endif /* VMS */#endif /* PATTERNS */#endif /* NOPATTERNS */#ifndef NOCAL#ifndef CALIBRATE#define CALIBRATE#endif /* CALIBRATE */#else#ifdef CALIBRATE#undef CALIBRATE#endif /* CALIBRATE */#endif /* NOCAL */#ifndef NORECURSE			/* Recursive directory traversal */#ifndef RECURSIVE#ifdef VMS#define RECURSIVE#else#ifdef OS2ORUNIX#ifndef CK_SMALL#define RECURSIVE#endif /* CK_SMALL */#else#ifdef STRATUS#define RECURSIVE#else#ifdef OSK#define RECURSIVE#endif /* OSK */#endif /* STRATUS */#endif /* OS2ORUNIX */#endif /* VMS */#endif /* RECURSIVE */#endif /* NORECURSE */#ifndef CK_SMALL			/* Enable file-transfer tuning code */#ifndef CKTUNING			/* in which more code is added */#ifndef NOTUNING			/* to avoid function calls, etc */#define CKTUNING#endif /* NOTUNING */#endif /* CKTUNING */#endif /* CK_SMALL */#ifndef NOURL				/* Parse URLs in SET HOST, etc */#define CK_URL#endif /* NOURL */#ifndef NOTRIGGER#ifndef CK_TRIGGER			/* Trigger string to exit CONNECT */#ifdef OS2ORUNIX			/* OK for UNIX and K95 */#define CK_TRIGGER#else#ifdef VMS				/* and VMS */#define CK_TRIGGER#else#ifdef datageneral			/* and AOS/VS */#define CK_TRIGGER#endif /* datageneral */#endif /* OS2ORUNIX */#endif /* VMS */#endif /* CK_TRIGGER */#endif /* NOTRIGGER */#ifdef CK_TRIGGER#define TRIGGERS 8			/* How many triggers allowed */#endif /* CK_TRIGGER */#ifndef XLIMITS				/* CONNECT limits */#ifdef OS2#define XLIMITS#endif /* OS2 */#endif /* XLIMITS */#ifdef NOFRILLS#ifndef NOBROWSER#define NOBROWSER#endif /* NOBROWSER */#endif /* NOFRILLS */#ifndef NOHTTP				/* HTTP features need... */#ifdef NOICP				/* an interactive command parser */#define NOHTTP#endif /* NOICP */#ifndef OS2ORUNIX			/* K95 or UNIX (because of */#define NOHTTP				/* time functions, time_t, etc) */#endif /* OS2ORUNIX */#endif /* NOHTTP *//* The HTTP code is not very portable, so it must be asked for with -DCKHTTP */#ifndef NONET#ifdef TCPSOCKET#ifndef NOHTTP#ifndef CKHTTP#ifdef SUNOS4				/* We can use it in SunOS */#define CKHTTP#endif /* SUNOS4 */#ifdef SOLARIS				/* And in Solaris */#define CKHTTP#endif /* SOLARIS */#ifdef LINUX				/* And Linux */#define CKHTTP#endif /* LINUX */#ifdef HPUX10				/* And HP-UX 10 and above */#define CKHTTP#endif /* HPUX10 */#ifdef OS2				/* And in K-95 */#define CKHTTP#endif /* OS2 */#ifdef AIX41				/* In AIX 4.1 and higher */#define CKHTTP#endif /* AIX41 */#ifdef UNIXWARE				/* In Unixware 2.1 and higher */#define CKHTTP				/* and probably also in 1.x and 2.0 */#endif /* UNIXWARE *//* Add more here... */#endif /* CKHTTP */#ifndef CKHTTP				/* If CKHTTP not defined yet */#define NOHTTP				/* then define HOHTTP */#endif /* CKHTTP */#endif /* NOHTTP */#ifndef NOBROWSER#ifdef UNIX#ifndef BROWSER#ifndef NOPUSH#define BROWSER#endif /* NOPUSH */#endif /* BROWSER */#endif /* UNIX */#ifdef OS2#ifndef BROWSER#ifndef NOPUSH#define BROWSER#endif /* NOPUSH */#endif /* BROWSER */#endif /* OS2 */#else#ifdef BROWSER#undef BROWSER#endif /* BROWSER */#endif /* NOBROWSER */#endif /* TCPSOCKET */#endif /* NONET */#ifdef TCPSOCKET#ifdef CK_SOCKS5			/* CK_SOCKS5 implies CK_SOCKS */#ifndef CK_SOCKS#define CK_SOCKS#endif /* CK_SOCKS */#endif /* CK_SOCKS5 */#ifndef CK_AUTHENTICATION#ifdef OS2#ifdef OS2ONLY#define NO_KERBEROS#endif /* OS2ONLY */#ifndef NO_KERBEROS#define CK_KERBEROS#define KRB4#define KRB5#endif /* NO_KERBEROS */#ifndef _M_PPC#ifndef _M_ALPHA#ifndef NO_ENCRYPTION#ifndef NO_SSL#define CK_SSL#define SSLDLL#endif /* NO_SSL */#endif /* NO_ENCRYPTION */#endif /* _M_ALPHA */#endif /* _M_PPC */#ifndef NO_SRP#define CK_SRP#endif /* NO_SRP */#define CK_AUTHENTICATION#endif /* OS2 */#endif /* CK_AUTHENTICATION */#ifdef CK_AUTHENTICATION		/* Encryption must have Auth */#ifndef CK_ENCRYPTION#ifndef NO_ENCRYPTION#ifdef OS2#define CK_ENCRYPTION#endif /* OS2 */#endif /* NO_ENCRYPTION */#endif /* CK_ENCRYPTION */#endif /* CK_AUTHENTICATION */#ifdef COMMENT#ifndef NO_KERBEROS#ifndef CK_KERBEROS			/* Temporary: for testing */#ifdef UNIX				/* This enables only parsing */#define CK_KERBEROS#endif /* UNIX */#endif /* CK_KERBEROS */#endif /* NO_KERBEROS */#endif /* COMMENT */#ifdef NO_AUTHENTICATION                /* Allow authentication to be */#ifdef CK_AUTHENTICATION                /* disabled in NT and OS/2    */#undef CK_AUTHENTICATION#endif /* CK_AUTHENTICATION */#ifdef CK_KERBEROS#undef CK_KERBEROS#endif /* CK_KERBEROS */#ifdef CK_SRP#undef CK_SRP#endif /* CK_SRP */#ifdef CK_ENCRYPTION#undef CK_ENCRYPTION#endif /* CK_ENCRYPTION */#endif /* NO_AUTHENTICATION */#ifdef NO_ENCRYPTION                    /* Allow encryption to be */#ifdef CK_ENCRYPTION                    /* disabled in NT and OS/2 */#undef CK_ENCRYPTION#endif /* CK_ENCRYPTION */#endif /* NO_ENCRYPTION */#ifndef OS2ORUNIX#ifndef NOPUTENV#define NOPUTENV#endif /* NOPUTENV */#endif /* OS2ORUNIX */#ifndef CK_ENVIRONMENT#ifdef OS2#define CK_ENVIRONMENT#else#ifdef UNIX#define CK_ENVIRONMENT#else#ifdef STRATUS#define CK_ENVIRONMENT#else#ifdef VMS#define CK_ENVIRONMENT#endif /* VMS */#endif /* STRATUS */#endif /* UNIX */#endif /* OS2 */#endif /* CK_ENVIRONMENT */#ifndef NOSNDLOC			/* RFC 779 SEND LOCATION */#ifndef CK_SNDLOC#define CK_SNDLOC#endif /* CK_SNDLOC */#endif /* NOSNDLOC */#ifndef NOXDISPLOC			/* RFC 1096 XDISPLOC */#ifndef CK_XDISPLOC#define CK_XDISPLOC#endif /* CK_XDISPLOC */#endif /* NOXDISPLOC */#ifndef NOFORWARDX#ifndef NOPUTENV#ifndef NOSELECT#ifndef CK_FORWARD_X#ifdef NT				/* EXPERIMENTAL */#define CK_FORWARD_X#endif /* NT */#endif /* CK_FORWARD_X */#endif /* NOSELECT */#endif /* NOPUTENV */#endif /* NOFORWARDX */#endif /* TCPSOCKET */#ifndef NOCTRLZ				/* Allow SET FILE EOF CTRL-Z */#ifndef CK_CTRLZ#ifdef OS2#define CK_CTRLZ#endif /* OS2 */#endif /* CK_CTRLZ */#endif /* NOCTRLZ */#ifndef NOPERMS				/* File permissions in A packets */#ifndef CK_PERMS#ifdef UNIX#define CK_PERMS#else#ifdef VMS#define CK_PERMS#endif /* VMS */#endif /* UNIX */#endif /* CK_PERMS */#endif /* NOPERMS */#ifdef CK_PERMS#define CK_PERMLEN 24			/* Max length of sys-dependent perms */#endif /* CK_PERMS */#ifdef UNIX				/* NOSETBUF for everybody */#ifndef NOSETBUF#ifndef USE_SETBUF			/* This is the escape clause */#define NOSETBUF#endif /* USE_SETBUF */#endif /* NOSETBUF */#endif /* UNIX */#ifndef USE_STRERROR			/* Whether to use strerror() */#ifdef pdp11#define USE_STRERROR#endif /* pdp11 */#endif /* USE_STRERROR */#ifdef VMS				/* Features for all VMS builds */#ifndef NOJC#define NOJC#endif /* NOJC */#ifndef NOSETBUF#define NOSETBUF#endif /* NOSETBUF */#ifndef DYNAMIC#define DYNAMIC#endif /* DYNAMIC */#ifndef NOCURSES#ifndef CK_CURSES#define CK_CURSES#endif /* CK_CURSES */#endif /* NOCURSES */#endif /* VMS */#ifndef NOCKTIMERS			/* Dynamic timeouts */#ifndef CK_TIMERS#define CK_TIMERS#endif /* CK_TIMERS */#endif /* NOCKTIMERS */#define CK_SPEED			/* Control-prefix removal */#ifdef NOCKSPEED#undef CK_SPEED#endif /* NOCKSPEED */#ifndef NOCKXXCHAR#ifndef CKXXCHAR#ifdef UNIX#define CKXXCHAR#else#ifdef OS2#define CKXXCHAR#endif /* OS2 */#endif /* UNIX */#endif /* CKXXCHAR */#endif /* NOCKXXCHAR */#ifdef MAC				/* For Macintosh, no escape */#define NOPUSH				/* to operating system */#endif /* MAC *//* Systems where we can call zmkdir() to create directories. */#ifndef CK_MKDIR#ifndef NOMKDIR#ifdef UNIX#ifndef pdp11#define CK_MKDIR#endif /* pdp11 */#endif /* UNIX */#ifdef OS2#define CK_MKDIR#endif /* OS2 */#ifdef VMS#define CK_MKDIR#endif /* VMS */#ifdef STRATUS#define CK_MKDIR#endif /* STRATUS */#ifdef OSK#define CK_MKDIR#endif /* OSK */#ifdef datageneral#define CK_MKDIR#endif /* datageneral */#endif /* CK_MKDIR */#endif /* NOMKDIR */#ifdef NOMKDIR				/* Allow for command-line override */#ifdef CK_MKDIR#undef CK_MKDIR#endif /* CK_MKDIR */#endif /* NOMKDIR *//* Systems for which we can enable the REDIRECT command automatically *//*   As of 6.0.193, it should work for all UNIX... */#ifndef NOREDIRECT#ifndef CK_REDIR#ifdef UNIX#define CK_REDIR#endif /* UNIX */#ifdef OS2				/* As well as OS/2 and friends... */#define CK_REDIR#endif /* OS2 */#endif /* CK_REDIR */#endif /* NOREDIRECT */#ifdef NOPUSH				/* But... REDIRECT command is not */#ifdef CK_REDIR				/*  allowed if NOPUSH is defined. */#undef CK_REDIR#endif /* CK_REDIR */#ifdef NETCMD				/* Nor is SET NET COMMAND */#undef NETCMD#endif /* NETCMD */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -