diff libtwamr/ietf_hdr.c @ 442:6fa27df6903b

libtwamr: add file header public const datum
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 09 May 2024 07:19:42 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/libtwamr/ietf_hdr.c	Thu May 09 07:19:42 2024 +0000
@@ -0,0 +1,8 @@
+/*
+ * This module provides one public const datum: RFC 4867 file header.
+ */
+
+#include <stdint.h>
+#include "tw_amr.h"
+
+const uint8_t amr_file_header_magic[AMR_IETF_HDR_LEN] = "#!AMR\n";