core/logic/sm_crc32.h
author Kyle Sanderson <kyle.leet@gmail.com>
Mon Aug 12 00:42:56 2013 +0100 (2013-08-12)
changeset 3994 4bc73bac0f4c
parent 2907 7c8e4694fc29
permissions -rw-r--r--
Added helper stock to check if a command exists. (bug 5510, r=asherkin)
dvander@2907
     1
/**
dvander@2907
     2
 * vim: set ts=4 sw=4 tw=99 noet:
dvander@2907
     3
 * =============================================================================
dvander@2907
     4
 * SourceMod
dvander@2907
     5
 * Copyright (C) 2004-2008 AlliedModders LLC.  All rights reserved.
dvander@2907
     6
 * =============================================================================
dvander@2907
     7
 *
dvander@2907
     8
 * This program is free software; you can redistribute it and/or modify it under
dvander@2907
     9
 * the terms of the GNU General Public License, version 3.0, as published by the
dvander@2907
    10
 * Free Software Foundation.
dvander@2907
    11
 * 
dvander@2907
    12
 * This program is distributed in the hope that it will be useful, but WITHOUT
dvander@2907
    13
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
dvander@2907
    14
 * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
dvander@2907
    15
 * details.
dvander@2907
    16
 *
dvander@2907
    17
 * You should have received a copy of the GNU General Public License along with
dvander@2907
    18
 * this program.  If not, see <http://www.gnu.org/licenses/>.
dvander@2907
    19
 *
dvander@2907
    20
 * As a special exception, AlliedModders LLC gives you permission to link the
dvander@2907
    21
 * code of this program (as well as its derivative works) to "Half-Life 2," the
dvander@2907
    22
 * "Source Engine," the "SourcePawn JIT," and any Game MODs that run on software
dvander@2907
    23
 * by the Valve Corporation.  You must obey the GNU General Public License in
dvander@2907
    24
 * all respects for all other code used.  Additionally, AlliedModders LLC grants
dvander@2907
    25
 * this exception to all derivative works.  AlliedModders LLC defines further
dvander@2907
    26
 * exceptions, found in LICENSE.txt (as of this writing, version JULY-31-2007),
dvander@2907
    27
 * or <http://www.sourcemod.net/license.php>.
dvander@2907
    28
 */
dvander@2907
    29
dvander@2907
    30
#ifndef _INCLUDE_SOURCEMOD_CRC32_H_
dvander@2907
    31
#define _INCLUDE_SOURCEMOD_CRC32_H_
dvander@2907
    32
dvander@2907
    33
#include <stddef.h>
dvander@2907
    34
dvander@2907
    35
unsigned int UTIL_CRC32(const void *data, size_t data_length);
dvander@2907
    36
dvander@2907
    37
#endif //_INCLUDE_SOURCEMOD_CRC32_H_
dvander@2907
    38