view ater/read_file.h @ 51:db39e8855f3d

ater: implement play-d144
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 25 Sep 2024 05:53:38 +0000
parents 5405c1573027
children
line wrap: on
line source

/*
 * This header file defines the interface to the function that reads
 * binary files in our ad hoc format for TRAU testing.
 */

#pragma once

#include <stdint.h>
#include <stdbool.h>

int read_binary_file(const char *filename, bool is_efr, uint8_t **bufret,
		     unsigned *size_ret);

int read_binary_file_d144(const char *filename, uint8_t **bufret,
			  unsigned *size_ret);