cake
/
libg1m
Archived
1
0
Fork 0
This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
libg1m/src/parse/mcsraw.c

36 lines
1.3 KiB
C

/* ************************************************************************** */
/* _____ _ */
/* parse/mcsraw.c |_ _|__ _ _| |__ ___ _ _ */
/* | Project: libg1m | |/ _ \| | | | '_ \ / _ \ | | | */
/* | | (_) | |_| | | | | __/ |_| | */
/* By: thomas <thomas@touhey.fr> |_|\___/ \__,_|_| |_|\___|\__, |.fr */
/* Last updated: 2016/12/25 13:38:52 |___/ */
/* */
/* ************************************************************************** */
#include <libg1m/internals.h>
/**
* g1m_parse_mcsraw:
* Parse archives.
*
* @arg handle the libg1m handle.
* @arg stream the stream to read from.
* @arg std the standard header.
* @return the error code (0 if ok).
*/
int g1m_parse_mcsraw(g1m_t *handle, FILE *stream,
struct standard_header *std)
{
(void)std;
/* skip the first 0x270000 - 0x20 bytes */
SKIP(0x270000 - sizeof(struct standard_header))
/* then read and stuff... not yet. */
log_error("Raw MCS archives are not managed yet.");
(void)handle;
/* no error */
return (0);
}