Blame crc32c.h

Packit da863b
/* vim: set tabstop=8 shiftwidth=4 softtabstop=4 expandtab smarttab colorcolumn=80: */
Packit da863b
/*
Packit da863b
 * Copyright (c) 2016 Red Hat, Inc.
Packit da863b
 * Author: Nathaniel McCallum <npmccallum@redhat.com>
Packit da863b
 *
Packit da863b
 * This program is free software: you can redistribute it and/or modify it
Packit da863b
 * under the terms of the GNU Lesser General Public License as published by
Packit da863b
 * the Free Software Foundation, either version 2.1 of the License, or
Packit da863b
 * (at your option) any later version.
Packit da863b
 *
Packit da863b
 * This program is distributed in the hope that it will be useful,
Packit da863b
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit da863b
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit da863b
 * GNU Lesser General Public License for more details.
Packit da863b
 *
Packit da863b
 * You should have received a copy of the GNU Lesser General Public License
Packit da863b
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
Packit da863b
 */
Packit da863b
Packit da863b
#pragma once
Packit da863b
Packit da863b
#include <stdint.h>
Packit da863b
#include <stddef.h>
Packit da863b
Packit da863b
uint32_t
Packit da863b
crc32c(uint32_t crc, const void *buf, size_t len);