securityanddataprivacytools/securitytools/certapp/utils/utils.h
changeset 0 2c201484c85f
child 8 35751d3474b7
equal deleted inserted replaced
-1:000000000000 0:2c201484c85f
       
     1 #ifndef __UTILS_H__
       
     2 #define __UTILS_H__/*
       
     3 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     4 * All rights reserved.
       
     5 * This component and the accompanying materials are made available
       
     6 * under the terms of the License "Eclipse Public License v1.0"
       
     7 * which accompanies this distribution, and is available
       
     8 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     9 *
       
    10 * Initial Contributors:
       
    11 * Nokia Corporation - initial contribution.
       
    12 *
       
    13 * Contributors:
       
    14 *
       
    15 * Description: 
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 /**
       
    23  @file
       
    24  @internalComponent
       
    25 */
       
    26 void OpenUtf8FStreamForRead(std::fstream &aFStream, const char *aUtf8FileName);
       
    27 void OpenUtf8FStreamForWrite(std::fstream &aFStream, const char *aUtf8FileName);
       
    28 
       
    29 
       
    30 #ifndef __LINUX__
       
    31 #include <windows.h>
       
    32 WCHAR *WindowsUtf8ToUtf16(const char *aUtf8);
       
    33 CHAR *WindowsUtf16ToUtf8(const WCHAR *aUtf16);
       
    34 WCHAR *WindowsRetrieveDosName(const WCHAR *aLongName);
       
    35 #endif
       
    36 
       
    37 #endif