view ater/read_file.h @ 40:e1eabf554a75

libhr: small subset of WIP libgsmhr1
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 30 Aug 2024 16:41:56 +0000
parents 5405c1573027
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);