/* 
* 
* Copyright (C) 2013 UMPC
* 
* This file is part of CLaRiNet.
*  
* CLaRiNet 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 3 of the License, or
* (at your option) any later version.
* 
* CLaRiNet 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 CLaRiNet.  If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef ERREUR_H
#define ERREUR_H

void SetErreur (const char *format,			/* -> format d'�criture */
				...);						/* -> valeurs � �crire */

#ifdef __cplusplus
extern "C" {
#endif
	void ClearErreur();
#ifdef __cplusplus
}
#endif

void EcritTrace(	const char *format,		/* -> Format d'�criture */
					...);					/* -> Valeurs � �crire */
#ifdef __cplusplus
extern "C" {
#endif
	int TraceErreur (const int _Verbose,	/* -> Désactive (0) ou active l'écriture dans le fichier traces */
			 const char *NomFichierTraces);
#ifdef __cplusplus
}
#endif


#ifdef __cplusplus
extern "C" {
#endif
	const char *GetErreur();
#ifdef __cplusplus
}
#endif


#endif
