summaryrefslogtreecommitdiffstats
path: root/core/picture.h
blob: 6dd6650dd7a95a46d0a5088941a2ad495d423a6f (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
// SPDX-License-Identifier: GPL-2.0
#ifndef PICTURE_H
#define PICTURE_H

// picture (more precisely media) related strutures and functions
#include "units.h"

#ifdef __cplusplus
extern "C" {
#endif

struct picture {
	char *filename;
	offset_t offset;
	location_t location;
	struct picture *next;
};

extern struct picture *alloc_picture();
extern void free_picture(struct picture *picture);

#ifdef __cplusplus
}
#endif

#endif // PICTURE_H