2020-04-10 07:42:14 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
|
|
|
#ifndef PICTURE_H
|
|
|
|
#define PICTURE_H
|
|
|
|
|
|
|
|
// picture (more precisely media) related strutures and functions
|
|
|
|
#include "units.h"
|
|
|
|
|
2020-04-11 15:30:34 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2020-04-10 07:42:14 +00:00
|
|
|
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);
|
|
|
|
|
2020-04-11 15:30:34 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2020-04-10 07:42:14 +00:00
|
|
|
#endif // PICTURE_H
|