1
0
mirror of https://git.disroot.org/80486DX2-66/polonium.git synced 2024-12-27 07:30:23 +05:30
polonium/include/file_boundaries.h

27 lines
521 B
C
Raw Normal View History

2024-07-07 03:18:23 +05:30
#ifndef _FILE_BOUNDARIES_H
#define _FILE_BOUNDARIES_H
#include <stdbool.h>
2024-09-22 14:52:54 +05:30
#include <stdint.h>
#include <stdio.h>
2024-07-07 03:18:23 +05:30
#include <stdlib.h>
#include "common.h"
#include "endianness_tools.h"
/* structures */
struct _file_boundaries {
bool invalid_file;
file_offset_t start, end;
2024-07-07 03:18:23 +05:30
};
/* typedefs */
typedef struct _file_boundaries file_boundaries_t;
/* function definitions */
file_boundaries_t determine_boundaries_BMP(FILE* file);
file_boundaries_t determine_boundaries_WAV(FILE* file);
2024-07-07 03:18:23 +05:30
#endif /* _FILE_BOUNDARIES_H */