summaryrefslogtreecommitdiffhomepage
path: root/src/internal
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-02-02 22:48:07 -0500
committermidipix <writeonce@midipix.org>2017-02-02 22:48:07 -0500
commit2653052944aef689484299c3f257db993dda106d (patch)
treec51e8ab2a1a206b4581a5e156681b458bd668cee /src/internal
parent85b39215b7264022460d3895e755e337485807b8 (diff)
downloadntapi-2653052944aef689484299c3f257db993dda106d.tar.bz2
ntapi-2653052944aef689484299c3f257db993dda106d.tar.xz
added crc64 definitions and interfaces.
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/ntapi.c6
-rw-r--r--src/internal/ntapi_fnapi.h5
2 files changed, 11 insertions, 0 deletions
diff --git a/src/internal/ntapi.c b/src/internal/ntapi.c
index c3f5817..5c60ffd 100644
--- a/src/internal/ntapi.c
+++ b/src/internal/ntapi.c
@@ -9,6 +9,7 @@
#include <ntapi/nt_status.h>
#include <ntapi/nt_crc32.h>
+#include <ntapi/nt_crc64.h>
#include <ntapi/nt_object.h>
#include <ntapi/nt_sysinfo.h>
#include <ntapi/nt_memory.h>
@@ -152,6 +153,11 @@ static int32_t __fastcall __ntapi_init_once(ntapi_vtbl ** pvtbl)
__ntapi->tt_mbstr_crc32 = __ntapi_tt_mbstr_crc32;
__ntapi->tt_crc32_table = __ntapi_tt_crc32_table;
+ /* nt_crc64.h */
+ __ntapi->tt_buffer_crc64 = __ntapi_tt_buffer_crc64;
+ __ntapi->tt_mbstr_crc64 = __ntapi_tt_mbstr_crc64;
+ __ntapi->tt_crc64_table = __ntapi_tt_crc64_table;
+
/* nt_file.h */
__ntapi->tt_get_file_handle_type = __ntapi_tt_get_file_handle_type;
__ntapi->tt_open_logical_parent_directory = __ntapi_tt_open_logical_parent_directory;
diff --git a/src/internal/ntapi_fnapi.h b/src/internal/ntapi_fnapi.h
index 75621f7..93e38bd 100644
--- a/src/internal/ntapi_fnapi.h
+++ b/src/internal/ntapi_fnapi.h
@@ -32,6 +32,11 @@ ntapi_tt_buffer_crc32 __ntapi_tt_buffer_crc32;
ntapi_tt_mbstr_crc32 __ntapi_tt_mbstr_crc32;
ntapi_tt_crc32_table __ntapi_tt_crc32_table;
+/* nt_crc64.h */
+ntapi_tt_buffer_crc64 __ntapi_tt_buffer_crc64;
+ntapi_tt_mbstr_crc64 __ntapi_tt_mbstr_crc64;
+ntapi_tt_crc64_table __ntapi_tt_crc64_table;
+
/* nt_file.h */
ntapi_tt_get_file_handle_type __ntapi_tt_get_file_handle_type;
ntapi_tt_open_logical_parent_directory __ntapi_tt_open_logical_parent_directory;