//========================================================================== // PRODUCT: RusRoute - MaaSoftware routing firewall software driver // (C) Copyright Moiseenko A.A., MaaSoftware, 2003-2008. All Rights Reserved. // http://www.maasoftware.ru http://www.maasoftware.com // http://www.rusroute.ru http://www.rusroute.com // support@maasoftware.ru //========================================================================== // FILE: MaaTL.h // // AUTHOR: Andrey A. Moiseenko // // OVERVIEW Maa's template library. // ~~~~~~~~ // DATE: 26.10.2003 //========================================================================== #include "perm.h" #include "temp.h" #if 0 unsigned long CMaaStandardHashFunction ( const void * ptr, int len ) { unsigned char * p = ( unsigned char * ) ptr; unsigned long x = 0; for ( int i = len; i--; ) { x = ( ( x >> 25 ) | ( x << 7 ) ) ^ *p++; } return x; } #endif