datacommsserver/esockserver/ssock/SS_UTL.CPP
changeset 0 dfb7c4ff071f
equal deleted inserted replaced
-1:000000000000 0:dfb7c4ff071f
       
     1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 /**
       
    17  @file
       
    18  @internalComponent 
       
    19 */
       
    20 
       
    21 #include <ss_std.h>
       
    22 #include <c32comm.h>
       
    23 #include <f32file.h>
       
    24 
       
    25 /**
       
    26 Panic the program.
       
    27 
       
    28 */
       
    29 GLDEF_C void Fault(TESockFault aFault)
       
    30 	{
       
    31 	User::Panic(KESockFaultPanic,aFault);
       
    32 	}
       
    33 
       
    34 
       
    35 /**
       
    36 Panic the protocol
       
    37 */
       
    38 EXPORT_C void Panic(TProtocolPanic aPanic)
       
    39 	{
       
    40 	User::Panic(KESockProtocolPanic, aPanic);
       
    41 	}
       
    42 
       
    43 EXPORT_C TInt StartESOCK(TAny * /*AnArg*/)
       
    44     {
       
    45     // We only support StartESOCK on WINC
       
    46     return KErrNotSupported;
       
    47     }
       
    48