applayerprotocols/ftpengine/inc/FTPDEF.H
changeset 0 b16258d2340f
equal deleted inserted replaced
-1:000000000000 0:b16258d2340f
       
     1 /**
       
     2 * Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 * FTP General definitions
       
    16 * Author:	Philippe Gabriel
       
    17 * 
       
    18 *
       
    19 */
       
    20 
       
    21 
       
    22 
       
    23 /**
       
    24  @file FTPDEF.H
       
    25  @internalComponent
       
    26 */
       
    27 
       
    28 #if !defined(__FTPDEF_H__)
       
    29 #define __FTPDEF_H__
       
    30 
       
    31 #define MAX_BUFFER_SIZE 4096
       
    32 #define IAC 0xFF
       
    33 #define SYNCH	0xF2
       
    34 #define IP	0xF4
       
    35 #define CR 0x0D
       
    36 #define LF 0x0A
       
    37 
       
    38 #define DEFAULT_SERVER_PI_PORT 21
       
    39 /**
       
    40 standard server default
       
    41 */
       
    42 #define DEFAULT_SERVER_DTP_PORT (DEFAULT_SERVER_PI_PORT-1)	
       
    43 
       
    44 
       
    45 #endif //__FTPDEF_H__