亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? zmodem.h

?? zmodem文件傳輸協(xié)議的源碼
?? H
?? 第 1 頁 / 共 2 頁
字號:
/*--------------------------------------------------------------------------*/
/* FILE: zreceive.c (Opus zmodem receiver)                                  */
/*                                                                          */
/*                                                                          */
/*               The Opus Computer-Based Conversation System                */
/*       (c) Copyright 1986, Wynn Wagner III, All Rights Reserved           */
/*                                                                          */
/*      This implementation of Chuck Forsberg's ZMODEM protocol was         */
/*              for Opus by Rick Huebner and Wynn Wagner III                */
/*                                                                          */
/*                                                                          */
/*                                                                          */
/*  This module is similar to a header used by Opus-Cbcs (1.00).  It is     */
/*  provided for your information only.  You will find undefined items.     */
/*                                                                          */
/*  There is absolutely no guarantee that anything here will work.  If you  */
/*  break this material, you own both pieces.                               */
/*                                                                          */
/*  USAGE:  You may use this material in any program with no obligation     */
/*          as long as there is no charge for your program.  For more       */
/*          information about commercial use, contact the "OPUSinfo HERE"   */
/*          BBS (124/111).                                                  */
/*                                                                          */
/*  NOTE:   There are a couple of things the Opus implementation does that  */
/*          aren't part of the original ZModem protocol.  They all deal     */
/*          with WaZOO type ("ZedZap") netmail and should only show up when */
/*          used under that condition.                                      */
/*                                                                          */
/*             * The maximum packet size can grow larger than 1k.  It is    */
/*               sensitive to the baud rate.  (2400b=2048k; 9600b=8192k)    */
/*             * The sender must be able to send nothing.  In other words,  */
/*               the sending system must be able to initiate and terminate  */
/*               a zmodem send session without having to actually send a    */
/*               file.  Normally this kind of thing would never happen in   */
/*               zmodem.                                                    */
/*                                                                          */
/*                                                                          */
/*--------------------------------------------------------------------------*/
/*                                                                          */
/*  More than the three folks listed above were involved with this.  Vince  */
/*  Perriello, for example, probably did some tweaking here and there.  As  */
/*  to Who-Wrote-What, it's kinda hard to say at this point.  Chuck Fors-   */
/*  berg did the hard part.  He thought up the whole thing and wrote the    */
/*  original code (on which this is based).  Rick took Chuck's code and     */
/*  scrubbed the Unix out of its nap.  I took Rick's code and got as much   */
/*  of the "C" stinch out as I could.  <ah-hem>  Said another way... Chuck  */
/*  made it; Rick made it MsDOS; and I made it fast.  So, if you have any   */
/*  kind of problem with this source code, your best best is to just figure */
/*  it out yourself because everybody involved in writing the code can      */
/*  safely/legitimately disavow any knowledge of the particular section     */
/*  causing the trouble.                                                    */
/*                                                      --- Wynn Wagner III */
/*                                                                          */
/*--------------------------------------------------------------------------*/
/*                                                                          */
/*  Naming convention:  Z_???   a routine from ZModem.C                     */
/*                      _Z_???  a private routine in ZModem.C               */
/*                      ZS_???  a routine in ZSend.C                        */
/*                      ZR_???  a routine in ZReceive.C                     */
/*                                                                          */
/*--------------------------------------------------------------------------*/

#include <sys\types.h>
#include <sys\stat.h>


   
/*--------------------------------------------------------------------------*/
/* Routines from N_Zmodem.H ...                                             */
/*--------------------------------------------------------------------------*/
byte * pascal zalloc();
void pascal z_message(byte *);

int  pascal Z_GetByte(int);
void pascal Z_PutString(unsigned char *);
void pascal Z_SendHexHeader(unsigned short,unsigned char *);
int  pascal Z_GetHeader(unsigned char *);
int  pascal Z_GetZDL(void);
void pascal Z_PutLongIntoHeader(long);
unsigned short pascal Z_UpdateCRC(unsigned short,unsigned short);




#define ZPAD            '*'            /* 052 Pad character begins frames   */
#define ZDLE            030            /* ^X Zmodem escape- `ala BISYNC DLE */
#define ZDLEE           (ZDLE^0100)    /* Escaped ZDLE as transmitted       */
#define ZBIN            'A'            /* Binary frame indicator            */
#define ZHEX            'B'            /* HEX frame indicator               */
#define ZBIN32          'C'            /* Binary frame with 32 bit FCS      */

/*--------------------------------------------------------------------------*/
/* Frame types (see array "frametypes" in zm.c)                             */
/*--------------------------------------------------------------------------*/
#define ZRQINIT         0              /* Request receive init              */
#define ZRINIT          1              /* Receive init                      */
#define ZSINIT          2              /* Send init sequence (optional)     */
#define ZACK            3              /* ACK to above                      */
#define ZFILE           4              /* File name from sender             */
#define ZSKIP           5              /* To sender: skip this file         */
#define ZNAK            6              /* Last packet was garbled           */
#define ZABORT          7              /* Abort batch transfers             */
#define ZFIN            8              /* Finish session                    */
#define ZRPOS           9              /* Resume transmit at this position  */
#define ZDATA           10             /* Data packet(s) follow             */
#define ZEOF            11             /* End of file                       */
#define ZFERR           12             /* Fatal Read/Write error Detected   */
#define ZCRC            13             /* Request for file CRC and response */
#define ZCHALLENGE      14             /* Receiver's Challenge              */
#define ZCOMPL          15             /* Request is complete               */
#define ZCAN            16             /* Other end canned with CAN*5       */
#define ZFREECNT        17             /* Request for free bytes on disk    */
#define ZCOMMAND        18             /* Command from sending program      */
#define ZSTDERR         19             /* Send following to stderr          */

/*--------------------------------------------------------------------------*/
/* ZDLE sequences                                                           */
/*--------------------------------------------------------------------------*/
#define ZCRCE           'h'            /* CRC next/frame ends/hdr follows   */
#define ZCRCG           'i'            /* CRC next/frame continues nonstop  */
#define ZCRCQ           'j'            /* CRC next/frame continues/want ZACK*/
#define ZCRCW           'k'            /* CRC next/ZACK expected/end of frame*/
#define ZRUB0           'l'            /* Translate to rubout 0177          */
#define ZRUB1           'm'            /* Translate to rubout 0377          */

/*--------------------------------------------------------------------------*/
/* Z_GetZDL return values (internal)                                        */
/* -1 is general error, -2 is timeout                                       */
/*--------------------------------------------------------------------------*/
#define GOTOR           0400           /* Octal alert! Octal alert!         */
#define GOTCRCE         (ZCRCE|GOTOR)  /* ZDLE-ZCRCE received               */
#define GOTCRCG         (ZCRCG|GOTOR)  /* ZDLE-ZCRCG received               */
#define GOTCRCQ         (ZCRCQ|GOTOR)  /* ZDLE-ZCRCQ received               */
#define GOTCRCW         (ZCRCW|GOTOR)  /* ZDLE-ZCRCW received               */
#define GOTCAN          (GOTOR|030)    /* CAN*5 seen                        */

/*--------------------------------------------------------------------------*/
/* Byte positions within header array                                       */
/*--------------------------------------------------------------------------*/
#define ZF0             3              /* First flags byte                  */
#define ZF1             2
#define ZF2             1
#define ZF3             0
#define ZP0             0              /* Low order 8 bits of position      */
#define ZP1             1
#define ZP2             2
#define ZP3             3              /* High order 8 bits of file pos     */

/*--------------------------------------------------------------------------*/
/* Bit Masks for ZRINIT flags byte ZF0                                      */
/*--------------------------------------------------------------------------*/
#define CANFDX          01             /* Can send and receive true FDX     */
#define CANOVIO         02             /* Can receive data during disk I/O  */
#define CANBRK          04             /* Can send a break signal           */
#define CANCRY          010            /* Can decrypt                       */
#define CANLZW          020            /* Can uncompress                    */
#define CANFC32         040            /* Can use 32 bit Frame Check        */





/*--------------------------------------------------------------------------*/
/* PARAMETERS FOR ZFILE FRAME...                                            */
/*--------------------------------------------------------------------------*/

/*--------------------------------------------------------------------------*/
/* Conversion options one of these in ZF0                                   */
/*--------------------------------------------------------------------------*/
#define ZCBIN           1              /* Binary transfer - no conversion   */
#define ZCNL            2              /* Convert NL to local EOLN          */

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
视频一区中文字幕国产| 国产精品一区二区在线播放| 日韩欧美国产高清| 成人丝袜高跟foot| 日本一不卡视频| 国产精品国产馆在线真实露脸| 欧美男男青年gay1069videost| 国产成人免费xxxxxxxx| 天天色综合天天| 亚洲日本护士毛茸茸| 精品免费日韩av| 欧美午夜片在线看| av电影在线不卡| 国产成人精品1024| 久久99精品国产麻豆不卡| 亚洲高清久久久| ...xxx性欧美| 欧美国产1区2区| 精品成人一区二区三区四区| 56国语精品自产拍在线观看| 在线看国产日韩| caoporm超碰国产精品| 国产成人午夜精品5599| 韩国女主播一区| 日韩电影在线免费| 一区二区三区不卡视频| 国产精品久久久久一区二区三区共| 日韩欧美国产一区二区三区| 欧美日韩成人在线一区| 91黄色免费版| 91麻豆福利精品推荐| 99视频国产精品| 成人精品电影在线观看| 国产成人久久精品77777最新版本 国产成人鲁色资源国产91色综 | 国产伦精品一区二区三区视频青涩| 亚洲国产一区二区视频| 亚洲欧美日韩在线| 中文字幕一区二区三区四区 | 最近日韩中文字幕| 国产精品久久久99| 国产精品婷婷午夜在线观看| 国产日产欧美一区| 国产日韩精品视频一区| 欧美激情一二三区| 国产亚洲美州欧州综合国| 精品99一区二区| 精品99一区二区| 久久久精品黄色| 亚洲国产成人一区二区三区| 中文字幕第一区二区| 中文字幕中文在线不卡住| 中文字幕在线观看一区| 亚洲免费成人av| 亚洲综合在线观看视频| 亚洲第一主播视频| 人人超碰91尤物精品国产| 美国十次了思思久久精品导航| 另类成人小视频在线| 国产精品99久| 色综合天天综合网天天狠天天 | 欧美日本一区二区三区| 日韩午夜小视频| 国产午夜精品久久久久久免费视| 国产精品丝袜一区| 玉米视频成人免费看| 日韩黄色小视频| 国产一本一道久久香蕉| 91香蕉视频在线| 欧美视频一区二区三区在线观看 | 亚洲精选一二三| 日韩中文字幕1| 国产福利91精品| 色综合一个色综合亚洲| 91精品国产色综合久久不卡电影| 久久综合久久综合亚洲| 亚洲人成精品久久久久| 五月天激情综合| 国产在线精品一区二区不卡了 | 亚洲蜜臀av乱码久久精品| 日韩影院免费视频| 高清不卡一二三区| 欧美精品v日韩精品v韩国精品v| 久久久九九九九| 亚洲在线观看免费视频| 国产专区欧美精品| 91福利在线播放| 久久久av毛片精品| 亚洲一区二区三区四区五区中文| 久久精品久久综合| 色综合婷婷久久| www国产成人免费观看视频 深夜成人网 | 色94色欧美sute亚洲线路一久| 777xxx欧美| 亚洲色图.com| 精品一区二区三区在线播放| 欧美在线视频日韩| 中文字幕乱码一区二区免费| 午夜欧美视频在线观看| 91在线视频播放| 久久综合999| 日日摸夜夜添夜夜添国产精品| 99精品国产视频| 精品黑人一区二区三区久久 | 国产一区二区三区免费看 | 91国产成人在线| 中文在线资源观看网站视频免费不卡 | 日韩毛片高清在线播放| 韩国成人精品a∨在线观看| 欧美日韩一级二级| 中文字幕一区免费在线观看 | a亚洲天堂av| 欧美精品一区二区三区蜜臀| 偷窥少妇高潮呻吟av久久免费| 91色porny| 亚洲国产精品ⅴa在线观看| 久久精品99国产国产精| 欧美日韩国产一级| 亚洲欧美日韩精品久久久久| 懂色av一区二区夜夜嗨| 久久美女艺术照精彩视频福利播放 | 色婷婷综合久久久久中文| 国产女人aaa级久久久级| 韩日精品视频一区| 日韩视频在线你懂得| 亚洲成av人片一区二区| 欧美撒尿777hd撒尿| 一区二区三区中文在线| 91丨porny丨国产入口| 国产精品乱人伦一区二区| 粉嫩aⅴ一区二区三区四区| 精品第一国产综合精品aⅴ| 久久91精品国产91久久小草| 日韩一级高清毛片| 日韩在线观看一区二区| 欧美一区二区三区在线观看视频| 香蕉影视欧美成人| 欧美日韩亚洲综合一区二区三区| 亚洲综合免费观看高清完整版在线| 99久久夜色精品国产网站| 国产精品久久久久国产精品日日| 成人激情免费视频| 中文字幕中文在线不卡住| 97超碰欧美中文字幕| 亚洲天堂福利av| 欧美三级乱人伦电影| 天天色综合成人网| 欧美xxxxx牲另类人与| 激情欧美一区二区三区在线观看| 精品福利一二区| 国产一区二区导航在线播放| 精品理论电影在线| 成人动漫一区二区| 亚洲裸体xxx| 欧美日韩久久不卡| 麻豆精品在线播放| 中文字幕欧美激情| 在线观看中文字幕不卡| 午夜视频在线观看一区二区三区| 日韩一区二区在线看片| 国产中文字幕精品| 国产精品女同一区二区三区| 91久久精品一区二区| 蜜臀久久99精品久久久久宅男| 久久综合九色综合欧美亚洲| 99久久精品情趣| 日日摸夜夜添夜夜添精品视频| 久久这里只精品最新地址| 99久久久无码国产精品| 亚洲gay无套男同| 欧美zozo另类异族| 91麻豆123| 青青草伊人久久| 国产精品高潮呻吟久久| 欧美日韩一区三区四区| 韩国女主播一区二区三区| 亚洲欧美自拍偷拍| 正在播放一区二区| 国产成人aaa| 亚洲成人福利片| 中文字幕不卡在线播放| 欧美精品三级日韩久久| 高清成人在线观看| 日产国产高清一区二区三区| 国产三级精品视频| 欧美精品粉嫩高潮一区二区| 成人激情动漫在线观看| 日韩avvvv在线播放| 亚洲桃色在线一区| 欧美mv和日韩mv国产网站| 91福利社在线观看| 国产一区二区三区日韩| 日韩和的一区二区| 中文字幕日本乱码精品影院| 欧美一区二区三区人| 91影院在线免费观看| 九九国产精品视频| 图片区小说区国产精品视频| 国产精品国产三级国产aⅴ入口| 日韩一区二区三| 欧美三级资源在线|