From 71d2303c3c5bf269819109a812cbfbed2a841c00 Mon Sep 17 00:00:00 2001 From: Carl Niklas Rydberg Date: Sun, 21 Dec 2025 22:12:09 +0100 Subject: [PATCH] Moved EncodingProfileId into ASL core and decoupled the encoder header from STORE, so ASL/1-CORE stands alone as required. --- include/amduat/asl/core.h | 1 + include/amduat/asl/store.h | 2 -- include/amduat/enc/asl1_core.h | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/include/amduat/asl/core.h b/include/amduat/asl/core.h index fb75199..d938649 100644 --- a/include/amduat/asl/core.h +++ b/include/amduat/asl/core.h @@ -16,6 +16,7 @@ typedef struct { } amduat_octets_t; typedef uint16_t amduat_hash_id_t; +typedef uint16_t amduat_asl_encoding_profile_id_t; typedef struct { uint32_t tag_id; diff --git a/include/amduat/asl/store.h b/include/amduat/asl/store.h index fed8b23..7f57b78 100644 --- a/include/amduat/asl/store.h +++ b/include/amduat/asl/store.h @@ -11,8 +11,6 @@ extern "C" { #endif -typedef uint16_t amduat_asl_encoding_profile_id_t; - typedef struct { amduat_asl_encoding_profile_id_t encoding_profile_id; amduat_hash_id_t hash_id; diff --git a/include/amduat/enc/asl1_core.h b/include/amduat/enc/asl1_core.h index 88346a5..233f498 100644 --- a/include/amduat/enc/asl1_core.h +++ b/include/amduat/enc/asl1_core.h @@ -1,7 +1,7 @@ #ifndef AMDUAT_ENC_ASL1_CORE_H #define AMDUAT_ENC_ASL1_CORE_H -#include "amduat/asl/store.h" +#include "amduat/asl/core.h" #include #include