Back to index

radiance  4R0+20100331
rtmisc.h
Go to the documentation of this file.
00001 /* RCSid $Id: rtmisc.h,v 3.6 2004/03/28 20:33:12 schorsch Exp $ */
00002 /*
00003  *     Miscellaneous Radiance definitions
00004  */
00005 #ifndef _RAD_RTMISC_H_
00006 #define _RAD_RTMISC_H_
00007 
00008 #include <stdlib.h>
00009 
00010 #ifdef __cplusplus
00011 extern "C" {
00012 #endif
00013 
00014                                    /* defined in bmalloc.c */
00015 extern void   *bmalloc(size_t size);
00016 extern void   bfree(void *ptr, size_t size);
00017 
00018                                    /* defined in ealloc.c */
00019 extern void *emalloc(size_t size);
00020 extern void *ecalloc(size_t nmemb, size_t size);
00021 extern void *erealloc(void *ptr, size_t size);
00022 extern void   efree(void *ptr);
00023 
00024                                    /* defined in myhostname.c */
00025 extern char   *myhostname(void);
00026 
00027 #ifdef __cplusplus
00028 }
00029 #endif
00030 #endif /* _RAD_RTMISC_H_ */
00031