persistentstorage/sql/SRC/Server/SqlSrvUtil.h
branchRCL_3
changeset 24 cc28652e0254
parent 23 26645d81f48d
equal deleted inserted replaced
23:26645d81f48d 24:cc28652e0254
     1 // Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2006-2009 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 "Eclipse Public License v1.0"
     4 // under the terms of "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".
    22 
    22 
    23 inline TBool IsSystemTableName(const TDesC16& aTableName);
    23 inline TBool IsSystemTableName(const TDesC16& aTableName);
    24 inline TBool IsSystemTableName(const TDesC8& aTableName);
    24 inline TBool IsSystemTableName(const TDesC8& aTableName);
    25 inline TBool IsSqliteTableName(const TDesC8& aTableName);
    25 inline TBool IsSqliteTableName(const TDesC8& aTableName);
    26 
    26 
    27 #ifdef _SQL_AUTHORIZER_TRACE_ENABLED
    27 #ifdef _NOTIFY
    28 void PrintAuthorizerArguments(TInt aDbOpType, 
    28 void PrintAuthorizerArguments(TInt aDbOpType, const char* aDbObjName1, const char* aDbObjName2, 
    29                               const char* aDbObjName1, 
    29 							  const char* aDbName, const char* aTrgOrViewName);
    30                               const char* aDbObjName2, 
    30 #endif//_NOTIFY
    31 							  const char* aDbName, 
       
    32 							  const char* aTrgOrViewName);
       
    33 #endif
       
    34 
    31 
    35 TBool UTF16ToUTF8(const TDesC& aIn, TDes8& aOut);
    32 TBool UTF16ToUTF8(const TDesC& aIn, TDes8& aOut);
    36 TBool UTF16ZToUTF8Z(const TDesC& aFileName, TDes8& aFileNameDestBuf);
    33 TBool UTF16ZToUTF8Z(const TDesC& aFileName, TDes8& aFileNameDestBuf);
    37 TBool UTF16ToUTF8Z(const TDesC& aFileName, TDes8& aFileNameDestBuf);
    34 TBool UTF16ToUTF8Z(const TDesC& aFileName, TDes8& aFileNameDestBuf);
    38 inline TBool FileExists(RFs& aFs, const TDesC& aFileName);
    35 inline TBool FileExists(RFs& aFs, const TDesC& aFileName);