diff options
author | Allan Jude <allanjude@FreeBSD.org> | 2023-01-25 01:20:16 +0000 |
---|---|---|
committer | Allan Jude <allanjude@FreeBSD.org> | 2023-01-25 01:20:16 +0000 |
commit | b3392d84da5bf2162baf937c77e0557f3fd8a52b (patch) | |
tree | d9bfa8081b46f82d07e21f8ff8e70627a2aec35f /programs/dibio.h | |
parent | f6ae97673c28bdb9ae795bd235ab6f26f2536a2d (diff) |
Diffstat (limited to 'programs/dibio.h')
-rw-r--r-- | programs/dibio.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/programs/dibio.h b/programs/dibio.h index 682723d6a54b..666c1e661800 100644 --- a/programs/dibio.h +++ b/programs/dibio.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc. + * Copyright (c) Yann Collet, Facebook, Inc. * All rights reserved. * * This source code is licensed under both the BSD-style license (found in the @@ -19,7 +19,7 @@ * Dependencies ***************************************/ #define ZDICT_STATIC_LINKING_ONLY -#include "../lib/dictBuilder/zdict.h" /* ZDICT_params_t */ +#include "../lib/zdict.h" /* ZDICT_params_t */ /*-************************************* @@ -31,9 +31,9 @@ `parameters` is optional and can be provided with values set to 0, meaning "default". @return : 0 == ok. Any other : error. */ -int DiB_trainFromFiles(const char* dictFileName, unsigned maxDictSize, - const char** fileNamesTable, unsigned nbFiles, size_t chunkSize, +int DiB_trainFromFiles(const char* dictFileName, size_t maxDictSize, + const char** fileNamesTable, int nbFiles, size_t chunkSize, ZDICT_legacy_params_t* params, ZDICT_cover_params_t* coverParams, - ZDICT_fastCover_params_t* fastCoverParams, int optimize); + ZDICT_fastCover_params_t* fastCoverParams, int optimize, unsigned memLimit); #endif |