os/security/securityanddataprivacytools/securitytools/certapp/utils/utils.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     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  @file
    22  @internalComponent
    23 */
    24 void OpenUtf8FStreamForRead(std::fstream &aFStream, const char *aUtf8FileName);
    25 void OpenUtf8FStreamForWrite(std::fstream &aFStream, const char *aUtf8FileName);
    26 
    27 
    28 #ifndef __LINUX__
    29 #include <windows.h>
    30 WCHAR *WindowsUtf8ToUtf16(const char *aUtf8);
    31 CHAR *WindowsUtf16ToUtf8(const WCHAR *aUtf16);
    32 WCHAR *WindowsRetrieveDosName(const WCHAR *aLongName);
    33 #endif
    34 
    35 #endif