misc/libphyslayer/hwpacksmounter.h
author sheepluva
Thu, 06 Feb 2014 22:13:30 +0100
changeset 10117 f6aa60d8a336
parent 10015 4feced261c68
child 10127 7f29a65aa1e4
permissions -rw-r--r--
fix potential buffer overflow

#ifndef HEDGEWARS_PACKAGES_MOUNTER_H
#define HEDGEWARS_PACKAGES_MOUNTER_H

#include "physfs.h"
#include "physfscompat.h"
#include "lua.h"

#ifdef __cplusplus
extern "C" {
#endif

PHYSFS_DECL void hedgewarsMountPackages();
PHYSFS_DECL void hedgewarsMountPackage(char * fileName);

PHYSFS_DECL const char * physfsReader(lua_State *L, PHYSFS_File *f, size_t *size);
PHYSFS_DECL void physfsReaderSetBuffer(void *buffer);

#ifdef __cplusplus
}
#endif

#endif