view dmpackutil.h @ 96:6bf5220fa47e

Urgh .. use memset to silence some bogus GCC warnings about using potentially uninitialized values, while that will not actually be possible. In any case, it is annoying.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 02 Oct 2012 18:52:28 +0300
parents 32250b436bca
children bb14d7907eb2
line wrap: on
line source

/*
 * DMLib
 * -- PACK-file additional utility routines
 * Programmed and designed by Matti 'ccr' Hamalainen
 * (C) Copyright 2011 Tecnic Software productions (TNSP)
 */
#ifndef DMPACKUTIL_H
#define DMPACKUTIL_H
#include "dmpack.h"

DMPackEntry *  dm_pack_entry_copy(const DMPackEntry *);
int            dm_pack_write(DMPackFile *);
int            dm_pack_create(const char *, DMPackFile **);
int            dm_pack_add_file(DMPackFile *, const char *, BOOL, int resFlags, DMPackEntry **);
int            dm_pack_extract_file(DMPackFile *, DMPackEntry *);

#endif // DMPACKUTIL_H