/*
 *  rm_error.h --
 *    Implements the Renderman error handling. 
 *    See section 7.2 of the RISpec 3.2
 *
 *  Created by Karsten Lueth on 04.11.03.
 * 
 *  Copyright (c) 2003-2008 Karsten Lueth (karsten.lueth@bacon3d.com). All rights reserved.
 *
 */

#ifndef _rm_error_h_
#define _rm_error_h_
#ifdef __cplusplus
extern "C" {
#endif
	
#include <ri.h>


/* Generates an error or a warning and passes the error to the error handler */ 
extern RtVoid rm_error(RtInt code, RtInt severity, char *msg);

/* Generates a info message. */
extern RtVoid rm_info(char* msg); 

#ifdef __cplusplus
};
#endif


#endif /* _rm_error_h_ */ 
