e32tools/elf2e32/source/checksum.h
changeset 0 044383f39525
equal deleted inserted replaced
-1:000000000000 0:044383f39525
       
     1 // Copyright (c) 2004-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 // Implementation of the Header file for CheckSum implementation of the elf2e32 tool
       
    15 // @internalComponent
       
    16 // @released
       
    17 // 
       
    18 //
       
    19 
       
    20 #ifndef CHECKSUM_H
       
    21 #define CHECKSUM_H
       
    22 
       
    23 #include <stddef.h>
       
    24 unsigned long checkSum(const void *aPtr);
       
    25 void Crc(unsigned short & aCrc,const void * aPtr,size_t aLength);
       
    26 void Crc32(unsigned long & aCrc, const void * aPtr, size_t aLength);
       
    27 
       
    28 #endif // CHECKSUM_H
       
    29 
       
    30 
       
    31