#ifndef	FBASE_H
#define	FBASE_H

#include <../source/TAL/objbase.h>

typedef enum
{
	filemode_read	= 'r',
	filemode_write	= 'w',
	filemode_append = 'a'
}	filemode_t;

#ifdef	__cplusplus
extern "C" {
#endif	/* __cplusplus */

	vhandle_t	V_CALL	lfsCreateFile(char *name,filemode_t mode);
#ifdef	CHECKED_BUILD
	vhandle_t	V_CALL	lfsCreateFileQuiet(char *name,filemode_t mode);
#else	/* !CHECKED_BUILD */
#define	lfsCreateFileQuiet	lfsCreateFile
#endif	/* !CHECKED_BUILD */

#ifdef	__cplusplus
}
#endif	/* __cplusplus */

#endif	/* FBASE_H */
