view ater/read_file.h @ 20:5405c1573027

ater: implement file reading
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 24 Jun 2024 08:50:29 +0000
parents
children db39e8855f3d
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);