summaryrefslogtreecommitdiff
path: root/ace/ACE.h
diff options
context:
space:
mode:
authorjtc <jtc@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2004-09-24 14:27:56 +0000
committerjtc <jtc@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2004-09-24 14:27:56 +0000
commite5a20706a4a9459924b4daa4cc7aff3d08422984 (patch)
treeff978e52142b848393cc702b7e96b61bb3cb68c1 /ace/ACE.h
parent3e3bf73ca628e4dbf04d50682ed8e84131a7deb5 (diff)
downloadATCD-e5a20706a4a9459924b4daa4cc7aff3d08422984.tar.gz
ChangeLogTag: Fri Sep 24 07:04:29 2004 J.T. Conklin <jtc@acorntoolworks.com>
Diffstat (limited to 'ace/ACE.h')
-rw-r--r--ace/ACE.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/ace/ACE.h b/ace/ACE.h
index a94a51fb592..fe6c599398d 100644
--- a/ace/ACE.h
+++ b/ace/ACE.h
@@ -536,6 +536,15 @@ namespace ACE
extern ACE_Export u_long hash_pjw (const wchar_t *str, size_t len);
#endif /* ACE_HAS_WCHAR */
+ /// Computes CRC-CCITT for the string.
+ extern ACE_Export ACE_UINT16 crc_ccitt(const char *str);
+
+ /// Computes CRC-CCITT for the buffer.
+ extern ACE_Export ACE_UINT16 crc_ccitt(const void *buf, size_t len);
+
+ /// Computes CRC-CCITT for the @ len iovec buffers.
+ extern ACE_Export ACE_UINT16 crc_ccitt(const iovec *iov, int len);
+
/// Computes the ISO 8802-3 standard 32 bits CRC for the string.
extern ACE_Export ACE_UINT32 crc32 (const char *str);