Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/arpa
File: ftp.h
/*
[0] Fix | Delete
* Copyright (c) 1983, 1989, 1993
[1] Fix | Delete
* The Regents of the University of California. All rights reserved.
[2] Fix | Delete
*
[3] Fix | Delete
* Redistribution and use in source and binary forms, with or without
[4] Fix | Delete
* modification, are permitted provided that the following conditions
[5] Fix | Delete
* are met:
[6] Fix | Delete
* 1. Redistributions of source code must retain the above copyright
[7] Fix | Delete
* notice, this list of conditions and the following disclaimer.
[8] Fix | Delete
* 2. Redistributions in binary form must reproduce the above copyright
[9] Fix | Delete
* notice, this list of conditions and the following disclaimer in the
[10] Fix | Delete
* documentation and/or other materials provided with the distribution.
[11] Fix | Delete
* 4. Neither the name of the University nor the names of its contributors
[12] Fix | Delete
* may be used to endorse or promote products derived from this software
[13] Fix | Delete
* without specific prior written permission.
[14] Fix | Delete
*
[15] Fix | Delete
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
[16] Fix | Delete
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
[17] Fix | Delete
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
[18] Fix | Delete
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
[19] Fix | Delete
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
[20] Fix | Delete
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
[21] Fix | Delete
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
[22] Fix | Delete
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
[23] Fix | Delete
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
[24] Fix | Delete
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
[25] Fix | Delete
* SUCH DAMAGE.
[26] Fix | Delete
*
[27] Fix | Delete
* @(#)ftp.h 8.1 (Berkeley) 6/2/93
[28] Fix | Delete
*/
[29] Fix | Delete
[30] Fix | Delete
#ifndef _ARPA_FTP_H
[31] Fix | Delete
#define _ARPA_FTP_H 1
[32] Fix | Delete
[33] Fix | Delete
/* Definitions for FTP; see RFC-765. */
[34] Fix | Delete
[35] Fix | Delete
/*
[36] Fix | Delete
* Reply codes.
[37] Fix | Delete
*/
[38] Fix | Delete
#define PRELIM 1 /* positive preliminary */
[39] Fix | Delete
#define COMPLETE 2 /* positive completion */
[40] Fix | Delete
#define CONTINUE 3 /* positive intermediate */
[41] Fix | Delete
#define TRANSIENT 4 /* transient negative completion */
[42] Fix | Delete
#define ERROR 5 /* permanent negative completion */
[43] Fix | Delete
[44] Fix | Delete
/*
[45] Fix | Delete
* Type codes
[46] Fix | Delete
*/
[47] Fix | Delete
#define TYPE_A 1 /* ASCII */
[48] Fix | Delete
#define TYPE_E 2 /* EBCDIC */
[49] Fix | Delete
#define TYPE_I 3 /* image */
[50] Fix | Delete
#define TYPE_L 4 /* local byte size */
[51] Fix | Delete
[52] Fix | Delete
#ifdef FTP_NAMES
[53] Fix | Delete
char *typenames[] = {"0", "ASCII", "EBCDIC", "Image", "Local" };
[54] Fix | Delete
#endif
[55] Fix | Delete
[56] Fix | Delete
/*
[57] Fix | Delete
* Form codes
[58] Fix | Delete
*/
[59] Fix | Delete
#define FORM_N 1 /* non-print */
[60] Fix | Delete
#define FORM_T 2 /* telnet format effectors */
[61] Fix | Delete
#define FORM_C 3 /* carriage control (ASA) */
[62] Fix | Delete
#ifdef FTP_NAMES
[63] Fix | Delete
char *formnames[] = {"0", "Nonprint", "Telnet", "Carriage-control" };
[64] Fix | Delete
#endif
[65] Fix | Delete
[66] Fix | Delete
/*
[67] Fix | Delete
* Structure codes
[68] Fix | Delete
*/
[69] Fix | Delete
#define STRU_F 1 /* file (no record structure) */
[70] Fix | Delete
#define STRU_R 2 /* record structure */
[71] Fix | Delete
#define STRU_P 3 /* page structure */
[72] Fix | Delete
#ifdef FTP_NAMES
[73] Fix | Delete
char *strunames[] = {"0", "File", "Record", "Page" };
[74] Fix | Delete
#endif
[75] Fix | Delete
[76] Fix | Delete
/*
[77] Fix | Delete
* Mode types
[78] Fix | Delete
*/
[79] Fix | Delete
#define MODE_S 1 /* stream */
[80] Fix | Delete
#define MODE_B 2 /* block */
[81] Fix | Delete
#define MODE_C 3 /* compressed */
[82] Fix | Delete
#ifdef FTP_NAMES
[83] Fix | Delete
char *modenames[] = {"0", "Stream", "Block", "Compressed" };
[84] Fix | Delete
#endif
[85] Fix | Delete
[86] Fix | Delete
/*
[87] Fix | Delete
* Record Tokens
[88] Fix | Delete
*/
[89] Fix | Delete
#define REC_ESC '\377' /* Record-mode Escape */
[90] Fix | Delete
#define REC_EOR '\001' /* Record-mode End-of-Record */
[91] Fix | Delete
#define REC_EOF '\002' /* Record-mode End-of-File */
[92] Fix | Delete
[93] Fix | Delete
/*
[94] Fix | Delete
* Block Header
[95] Fix | Delete
*/
[96] Fix | Delete
#define BLK_EOR 0x80 /* Block is End-of-Record */
[97] Fix | Delete
#define BLK_EOF 0x40 /* Block is End-of-File */
[98] Fix | Delete
#define BLK_ERRORS 0x20 /* Block is suspected of containing errors */
[99] Fix | Delete
#define BLK_RESTART 0x10 /* Block is Restart Marker */
[100] Fix | Delete
[101] Fix | Delete
#define BLK_BYTECOUNT 2 /* Bytes in this block */
[102] Fix | Delete
[103] Fix | Delete
#endif /* arpa/ftp.h */
[104] Fix | Delete
[105] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function