my_murmur3.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. #ifndef MY_MURMUR3_INCLUDED
  2. #define MY_MURMUR3_INCLUDED
  3. /* Copyright (c) 2013, 2017, Oracle and/or its affiliates. All rights reserved.
  4. This program is free software; you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License, version 2.0,
  6. as published by the Free Software Foundation.
  7. This program is also distributed with certain software (including
  8. but not limited to OpenSSL) that is licensed under separate terms,
  9. as designated in a particular file or component or in included license
  10. documentation. The authors of MySQL hereby grant you an additional
  11. permission to link the program and your derivative works with the
  12. separately licensed software that they have included with MySQL.
  13. This program is distributed in the hope that it will be useful,
  14. but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. GNU General Public License, version 2.0, for more details.
  17. You should have received a copy of the GNU General Public License
  18. along with this program; if not, write to the Free Software
  19. Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
  20. /**
  21. @file include/my_murmur3.h
  22. */
  23. #include <stddef.h>
  24. #include "my_inttypes.h"
  25. #include "my_macros.h"
  26. uint32 murmur3_32(const uchar *key, size_t len, uint32 seed);
  27. #endif /* MY_MURMUR3_INCLUDED */