userlibandfileserver/fileserver/shostmassstorage/server/protocol/tscsiclientreq.cpp
changeset 300 1d28c8722707
parent 33 0173bcd7697c
equal deleted inserted replaced
293:0659d0e1a03c 300:1d28c8722707
     1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of the License "Eclipse Public License v1.0"
     4 // under the terms of the License "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
    18  @internalTechnology
    18  @internalTechnology
    19 */
    19 */
    20 
    20 
    21 #include <e32base.h>
    21 #include <e32base.h>
    22 
    22 
    23 #include "debug.h"
       
    24 #include "msdebug.h"
       
    25 #include "mprotocol.h"
    23 #include "mprotocol.h"
    26 #include "tscsiclientreq.h"
    24 #include "tscsiclientreq.h"
    27 
    25 
    28 
    26 
    29 TInt TScsiClientReq::EncodeRequestL(TDes8& aBuffer) const
    27 TInt TScsiClientReq::EncodeRequestL(TDes8& aBuffer) const
    30     {
    28     {
    31     __MSFNSLOG
       
    32     TInt length = 0;
    29     TInt length = 0;
    33     switch (GetGroupCode())
    30     switch (GetGroupCode())
    34         {
    31         {
    35         case 0:
    32         case 0:
    36             // 6 byte commands
    33             // 6 byte commands