Mercurial > dovecot > core-2.2
view src/lib/crc32.h @ 22636:96e51a11c0aa
lib: Implement t_strsplit_tabescaped_inplace()
This is a more efficient version of t_strsplit_tabescaped(), which modifies
the input string instead of duplicating it.
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Sat, 04 Nov 2017 01:39:38 +0200 |
parents | 3d2736ece94a |
children |
line wrap: on
line source
#ifndef CRC32_H #define CRC32_H uint32_t crc32_data(const void *data, size_t size) ATTR_PURE; uint32_t crc32_str(const char *str) ATTR_PURE; uint32_t crc32_data_more(uint32_t crc, const void *data, size_t size) ATTR_PURE; uint32_t crc32_str_more(uint32_t crc, const char *str) ATTR_PURE; #endif