diff options
author | dimitri staessens <[email protected]> | 2016-09-07 15:00:12 +0200 |
---|---|---|
committer | dimitri staessens <[email protected]> | 2016-09-07 15:00:12 +0200 |
commit | ab83ed430081d2833faa31b7f1cf187b043e56be (patch) | |
tree | bc432f673bb453b8fc7789cff363b9b49e8fbaf5 /src/ipcpd/normal/crc32.h | |
parent | dd1047b0e457c45d45a1b5b83972d4a75968cce2 (diff) | |
parent | 2cf4f88fc8b957c15ae93a2eb3e56ebdb07a0381 (diff) | |
download | ouroboros-ab83ed430081d2833faa31b7f1cf187b043e56be.tar.gz ouroboros-ab83ed430081d2833faa31b7f1cf187b043e56be.zip |
Merged in sandervrijders/ouroboros/be-shm-pci (pull request #247)
ipcpd: normal: Add operations to get and set the PCI
Diffstat (limited to 'src/ipcpd/normal/crc32.h')
-rw-r--r-- | src/ipcpd/normal/crc32.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/ipcpd/normal/crc32.h b/src/ipcpd/normal/crc32.h new file mode 100644 index 00000000..f22bbc19 --- /dev/null +++ b/src/ipcpd/normal/crc32.h @@ -0,0 +1,30 @@ +/* + * Ouroboros - Copyright (C) 2016 + * + * 32-bit Cyclic Redundancy Check + * + * Sander Vrijders <[email protected]> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +#ifndef OUROBOROS_IPCP_CRC32_H +#define OUROBOROS_IPCP_CRC32_H + +#include <stdint.h> + +void crc32(uint32_t * crc, const uint8_t * buf, size_t len); + +#endif /* OUROBOROS_IPCP_CRC32_H */ |