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

📄 ckcdeb.h

📁 KERMIT工具 这在办公室下载不了,很多人都没有载不到.
💻 H
📖 第 1 页 / 共 5 页
字号:
#ifndef XLIMITS				/* CONNECT limits */#ifdef OS2#define XLIMITS#endif /* OS2 */#endif /* XLIMITS */#ifdef NOFRILLS#ifndef NOBROWSER#define NOBROWSER#endif /* NOBROWSER */#ifndef NOFTP#define NOFTP#endif /* NOFTP */#endif /* NOFRILLS */#ifndef NOHTTP				/* HTTP features need... */#ifdef NOICP				/* an interactive command parser */#define NOHTTP#endif /* NOICP */#ifndef VMS#ifndef OS2ORUNIX			/* K95 or UNIX (because of */#define NOHTTP				/* time functions, time_t, etc) */#endif /* OS2ORUNIX */#endif /* VMS */#endif /* NOHTTP */#ifndef NONET#ifdef TCPSOCKET/* The HTTP code is not very portable, so it must be asked for with -DCKHTTP */#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 */#ifdef CK_SCOV5#define CKHTTP#endif /* CK_SCOV5 */#ifdef OSF                              /* And in OSF Digital UNIX/True 64 */#define CKHTTP#endif /* OSF */#ifdef ultrix                           /* And in Ultrix Mips */#ifdef mips#define CKHTTP#endif /* mips */#endif /* ultrix *//* Add more here... */#endif /* CKHTTP */#ifndef CKHTTP				/* If CKHTTP not defined yet */#define NOHTTP				/* then define HOHTTP */#endif /* CKHTTP */#endif /* NOHTTP */#ifdef NETCONN				/* Special "network" types... */#ifndef NOLOCAL#ifdef OS2#ifndef NETFILE#define NETFILE#endif /* NETFILE */#ifndef NOPUSH#ifndef NETCMD#define NETCMD#endif /* NETCMD */#endif /* NOPUSH */#ifdef NT#ifndef NETDLL#define NETDLL#endif /* NETDLL */#endif /* NT */#endif /* OS2 */#endif /* NOLOCAL */#endif /* NETCONN */#ifndef NOFTP#ifndef SYSFTP#ifndef NEWFTP#ifdef OS2ORUNIX#define NEWFTP#endif /* OS2ORUNIX */#endif /* NEWFTP */#endif /* SYSFTP */#endif /* NOFTP */#ifndef NOFTP#ifdef NEWFTP#ifdef SYSFTP#undef SYSFTP#endif /* SYSFTP */#else /* NEWFTP */#ifndef SYSFTP#define SYSFTP#endif /* SYSFTP */#endif /* NEWFTP */#else /* NOFTP */#ifdef NEWFTP#undef NEWFTP#endif /* NEWFTP */#ifdef SYSFTP#undef SYSFTP#endif /* SYSFTP */#endif /* NOFTP */#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 */#else /* TCPSOCKET */#ifndef NOHTTP                          /* HTTP requires TCPSOCKET */#define NOHTTP#endif /* NOHTTP */#endif /* TCPSOCKET */#endif /* NONET */#ifdef TCPSOCKET#ifndef NOCKGETFQHOST#ifdef __ia64__#define NOCKGETFQHOST#else  /* __ia64__ */#ifdef SV68#define NOCKGETFQHOST#else#ifdef HPUXPRE65#define NOCKGETFQHOST#endif /* HPUXPRE65 */#endif /* SV68 */#endif /* __ia64 */#endif /* NOCKGETFQHOST *//*  Regarding System V/68 (SV68) (from Gerry Belanger, Oct 2002):    1) The gethostbyname() appears to return the actual host IP       address in the hostent struct, instead of the expected pointer       to the address. Hence the bogus address in the bcopy/memcopy.       This is despite the header agreeing with our expectations.    2) the expected argument swap between bcopy and memcopy       did not happen.  What grief this might cause, I know not.*/#endif /* TCPSOCKET */#ifdef TCPSOCKET#ifdef OS2ONLY#ifndef NOSOCKS#define NOSOCKS#endif /* NOSOCKS */#endif /* OS2ONLY */#ifdef NOSOCKS#ifdef CK_SOCKS#undef CK_SOCKS#endif /* CK_SOCKS */#ifdef CK_SOCKS5#undef CK_SOCKS5#endif /* CK_SOCKS5 */#else /* NOSOCKS */#ifdef NT#ifndef CK_SOCKS#define CK_SOCKS#endif /* CK_SOCKS */#endif /* NT */#ifdef CK_SOCKS5			/* CK_SOCKS5 implies CK_SOCKS */#ifndef CK_SOCKS#define CK_SOCKS#endif /* CK_SOCKS */#endif /* CK_SOCKS5 */#endif /* NOSOCKS */#endif /* TCPSOCKET */#ifdef TNCODE#ifndef CK_AUTHENTICATION#ifdef OS2#ifdef _M_PPC#define NO_KERBEROS#define NO_SRP#else /* _M_PPC */#ifndef NO_SSL#define CK_SSL#define SSLDLL#endif /* NO_SSL */#endif /* _M_PPC */#ifndef NO_KERBEROS#define CK_KERBEROS#define KRB4#define KRB5#define KRB524#define KRB524_CONV#ifdef NT#ifndef _M_PPC#ifndef _M_ALPHA#ifndef NO_SSL_KRB5#define SSL_KRB5#endif /* NO_SSL_KRB5 */#endif /* _M_ALPHA */#endif /* _M_PPC */#endif /* NT */#endif /* NO_KERBEROS */#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#define CK_DES#define CK_CAST#endif /* OS2 */#endif /* NO_ENCRYPTION */#endif /* CK_ENCRYPTION */#endif /* CK_AUTHENTICATION */#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 */#ifdef CK_KERBEROS      /* Disable funcs not yet supported with Heimdal */#ifdef KRB5#ifndef HEIMDAL#define KRB5_U2U#endif /* HEIMDAL */#endif /* KRB5 */#endif /* CK_KERBEROS *//*  SSH section.  NOSSH disables any form of SSH support.  If NOSSH is not defined (or implied by NONET, NOLOCAL, etc)  then SSHBUILTIN is defined for K95 and SSHCMD is defined for UNIX.  Then, if either SSHBUILTIN or SSHCMD is defined, ANYSSH is also defined.*/#ifndef NOSSH#ifndef NO_SSL#ifdef OS2ONLY#define NOSSH#endif /* OS2ONLY */#ifdef NT#ifndef CK_SSL#define NOSSH#endif /* CK_SSL */#endif /* NT */#else /* NO_SSL */#define NOSSH#endif /* NO_SSL */#endif /* NOSSH */#ifdef NOSSH				/* NOSSH */#ifdef SSHBUILTIN			/* undefines any SSH selctors */#undef SSHBUILTIN#endif /* SSHBUILTIN */#ifdef SFTP_BUILTIN#undef SFTP_BUILTIN#endif /* SFTP_BUILTIN */#ifdef SSHCMD#undef SSHCMD#endif /* SSHCMD */#ifdef ANYSSH#undef ANYSSH#endif /* ANYSSH */#else  /* Not NOSSH */#ifndef NOLOCAL#ifdef OS2#ifndef SSHBUILTIN#define SSHBUILTIN#endif /* SSHBUILTIN */#else  /* Not OS2 */#ifdef UNIX#ifndef SSHCMD#ifdef NETPTY#ifndef NOPUSH#define SSHCMD#endif /* NOPUSH */#endif /* NETPTY */#endif /* SSHCMD */#endif /* UNIX */#endif /* OS2 */#ifndef ANYSSH#ifdef SSHBUILTIN#define ANYSSH#ifdef SSHCMD#undef SSHCMD#endif /* SSHCMD */#else  /* SSHBUILTIN */#ifdef SSHCMD#define ANYSSH#endif /* SSHCMD */#endif /* SSHBUILTIN */#endif /* ANYSSH */#endif /* NOLOCAL */#endif /* NOSSH *//* This is in case #ifdef SSH is used anywhere in the K95 modules */#ifdef OS2#ifdef SSHBUILTIN#ifndef SSH#define SSH#endif /* SSH */#endif /* SSHBUILTIN */#endif /* OS2 */#ifdef CK_AUTHENTICATION#define CK_SECURITY#else#ifdef CK_SSL#define CK_AUTHENTICATION#define CK_SECURITY#endif /* CK_SSL */#endif /* CK_AUTHENTICATION *//* Environment stuff */#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 CK_AUTHENTICATION#ifndef OS2ONLY#define CK_FORWARD_X#endif /* OS2ONLY */#endif /* CK_AUTHENTICATION */#endif /* CK_FORWARD_X */#endif /* NOSELECT */#endif /* NOPUTENV */#endif /* NOFORWARDX */#ifndef NO_COMPORT#ifdef TCPSOCKET#ifndef TN_COMPORT#define TN_COMPORT#endif /* TN_COMPORT */#endif /* TCPSOCKET */#endif /* NO_COMPORT */#endif /* TNCODE */#ifndef NOXFER#ifndef NOCTRLZ				/* Allow SET FILE EOF CTRL-Z */#ifndef CK_CTRLZ#ifdef OS2ORUNIX#define CK_CTRLZ#endif /* OS2ORUNIX */#endif /* CK_CTRLZ */#endif /* NOCTRLZ */#endif /* NOXFER */#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 */#ifdef NETPTY#undef NETPTY#endif /* NETPTY */#endif /* NOPUSH */#ifndef PEXITSTAT			/* \v(pexitstat) variable defined */#ifdef OS2ORUNIX#define PEXITSTAT#else#ifdef VMS#define PEXITSTAT#endif /* VMS */#endif /* OS2ORUNIX */#endif /* PEXITSTAT *//* The following allows automatic enabling of REDIRECT to be overridden... */#ifdef NOREDIRECT#ifdef NETCMD#undef NETCMD#endif /* NETCMD */#ifdef NETPTY#undef NETPTY#endif /* NETPTY */#ifdef CK_REDIR#undef CK_REDIR#endif /* CK_REDIR */#endif /* NOREDIRECT */#ifdef NONETCMD#ifdef NETCMD#undef NETCMD#endif /* NETCMD */#ifdef NETPTY#undef NETPTY#endif /* NETPTY */#endif /* NONETCMD */#ifdef CK_REDIR_PROTOTYP( int ttruncmd, (char *) );#endif /* CK_REDIR *//* Use built-in DIRECTORY command */#ifndef NOMYDIR#ifndef DOMYDIR#ifdef UNIXOROSK#define DOMYDIR#else#ifdef OS2#define DOMYDIR#else#ifdef VMS#define DOMYDIR#endif /* VMS */#endif /* OS2 */#endif /* UNIXOROSK */#endif /* DOMYDIR */#endif /* NOMYDIR *//* Sending from and receiving to commands/pipes */#ifndef PIPESEND#ifdef UNIX#define P

⌨️ 快捷键说明

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