diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2024-11-24 07:16:43 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2024-11-24 07:16:43 (GMT) |
commit | 31c235f145189fe146f9374d6826927de5964a07 (patch) | |
tree | f2e7f0f782845faad6de9bc56f4d8aa5af42adae /src/common/entropy.h | |
parent | 6a26f36c928ed604f5cc7d6aa04e51a1469cf57c (diff) |
Include entropy (expressed in bits or bytes) into the Python API.
Diffstat (limited to 'src/common/entropy.h')
-rw-r--r-- | src/common/entropy.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/common/entropy.h b/src/common/entropy.h index f747149..b677a77 100644 --- a/src/common/entropy.h +++ b/src/common/entropy.h @@ -25,12 +25,15 @@ #define _COMMON_ENTROPY_H +#include <stdbool.h> + + #include "../arch/archbase.h" /* Détermine l'entropie d'un contenu binaire. */ -double compute_entropy(const bin_t *, size_t); +double compute_entropy(const bin_t *, size_t, bool); |