/*****************************************************************************

GRAOUMF TRACKER 2

Copyright (c) 1996 - 2002 Laurent de Soras

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.

Contact the author : laurent@ohmforce.com
More information about this license : http://www.gnu.org/licenses/gpl.html

*****************************************************************************/



#if defined (SPLAU_CURRENT_HEADER)
	#error Inclusion recursive du header SPLAU.
#endif
#define	SPLAU_CURRENT_HEADER

#if ! defined (SPLAU_HEADER_INCLUDED)
#define	SPLAU_HEADER_INCLUDED



/*\\\ INCLUDES \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/

#include	<stdio.h>

#include	"splstruc.h"



/*\\\ CONSTANTES PUBLIQUES \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/



/*\\\ TYPES & STRUCTURES PUBLIQUES \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/

signed int	SPLAU_save_sample (FILE *file_ptr, int sample);
signed int	SPLAU_save_sample_header (FILE *file_ptr, SPLS_PRIMARY_INFO *sample_info_ptr);
signed int	SPLAU_save_sample_data (FILE *file_ptr, SPLS_PRIMARY_INFO *sample_info_ptr, void *mem_data_ptr, FILE *file_data_ptr);
signed int	SPLAU_save_sample_tail (FILE *file_ptr, const SPLS_PRIMARY_INFO *sample_info_ptr);

signed int	SPLAU_load_sample (FILE *file_ptr, int sample, SPLS_PRIMARY_INFO *sample_info_ptr);
signed int	SPLAU_get_primary_info (FILE *file_ptr, SPLS_PRIMARY_INFO *sample_info_ptr);



/*\\\ PROTOTYPES DES FONCTIONS PUBLIQUES \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/



/*\\\ VARIABLES EXTERNES \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/

extern const char	*SPLAU_sample_name_0;
extern const char	*SPLAU_sample_extension_0;



/*\\\ FIN DU FICHIER \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/

#endif

#undef SPLAU_CURRENT_HEADER
