remotestoragefw/remotefileengine/inc/rsfwcommon.h
branchRCL_3
changeset 15 88ee4cf65e19
parent 12 87c71b25c937
child 16 1aa8c82cb4cb
equal deleted inserted replaced
12:87c71b25c937 15:88ee4cf65e19
     1 /*
       
     2 * Copyright (c) 2002-2004 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:  Definitions that are common to the Access API and Control API
       
    15  *
       
    16 */
       
    17 
       
    18 #ifndef RSFWCOMMON_H
       
    19 #define RSFWCOMMON_H
       
    20 
       
    21 // INCLUDES
       
    22 #include <e32std.h>
       
    23 
       
    24 // names needed when starting the server.
       
    25 _LIT(KRfeSemaphoreName, "RfeSemaphore");
       
    26 // the name of the server, used in Connect()
       
    27 _LIT(KRfeServerName, "remotefe");
       
    28 
       
    29 // special values for IAP selection
       
    30 _LIT(KIapDefaultPreferences, "*");
       
    31 _LIT(KIapAskUser,            "?");
       
    32 
       
    33 // the server version
       
    34 // A version must be specified when creating a session with the server
       
    35 const TUint KRfeMajorVersionNumber = 0;
       
    36 const TUint KRfeMinorVersionNumber = 1;
       
    37 const TUint KRfeBuildVersionNumber = 1;
       
    38 
       
    39 // DATA TYPES
       
    40 // opcodes used in message passing between client and server
       
    41 // opcodes used in message passing between client and server
       
    42 enum TRfeRqst
       
    43     {
       
    44     ERfeRequest,
       
    45     EAsynchRequest,
       
    46     EMount,
       
    47     EMountByDriveLetter,
       
    48     EDismountByVolumeId,
       
    49     EDismountByDriveLetter,
       
    50     EGetMountList,
       
    51     EGetMountInfo,
       
    52     ESetMountConnectionState,
       
    53     EDirRefresh,
       
    54     ECancelAll,
       
    55     ERenameReplace,
       
    56     ESetAttr,
       
    57     EFsIoctl,
       
    58     EGetAttr,
       
    59     EOpenByPath,
       
    60     EFsRoot,
       
    61     EMkDir,
       
    62     ERemoveDir,
       
    63     ECreateFile,
       
    64     ERemove,
       
    65     ELookUp,
       
    66     EClose,
       
    67     EFlush,
       
    68     EFetch,
       
    69     EFetchData,
       
    70     EOkToWrite,
       
    71     EMaxRfeOperations
       
    72     };
       
    73 
       
    74 #endif  // RSFWCOMMON_H
       
    75 
       
    76 // End of File