/*
** libSlashFX
** A small library to load and decode Slashstone SoundFX Builder files.
**
** Copyright (C) 2005 Kostas Michalopoulos.
** Licensed under the terms of the MIT License.
**
** Visit http://www.slashstone.com/prod.php?id=7 for the latest version of
** Slashstone SoundFX Builder and this library.
**
** This is unsupported code. Use at your own risk.
*/

#ifndef __SLASHFX_H_INCLUDED__
#define __SLASHFX_H_INCLUDED__

#ifdef __cplusplus
extern "C" {
#endif

/* both functions return 0 if something went wrong or 1 if everything went ok */

int ssfxLoadEffectFromMemory(char *ptr, short **wave, unsigned int *length);
int ssfxLoadEffectFromFile(char *fname, short **wave, unsigned int *length);

#ifdef __cplusplus
}
#endif

#endif
