summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/plaparse.h
blob: b0d3cbbe4e3148d074e2d77f6a55e5cbda109382 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// license:BSD-3-Clause
// copyright-holders:Aaron Giles, hap
/***************************************************************************

    plaparse.h

    Parser for Berkeley standard PLA files into raw fusemaps.

***************************************************************************/

#ifndef MAME_UTIL_PLAPARSE_H
#define MAME_UTIL_PLAPARSE_H

#pragma once

#include "osdcore.h"
#include "jedparse.h"


/***************************************************************************
    FUNCTION PROTOTYPES
***************************************************************************/

/* parse a file (read into memory) into a jed_data structure */
int pla_parse(const void *data, size_t length, jed_data *result);

#endif // MAME_UTIL_PLAPARSE_H