
/*
   Defs for using streamoids directly from programs, instead
   of going thru the eunuchs fakeout entry points.  
*/
#ifndef _STRMOIDS_H_
/*
   by controlling which order this and stdio get included in, one
   can control whether FILE is visible to the program or not.  Sure,
   it's a kludge, but we're programming in C, so nobody cares about
   good taste...
*/
#ifndef FILE
#include "io\io-defs.h"
#define FILE struct streamoid
#endif
extern int stream_readable_p(FILE * f);
extern int stream_writable_p(FILE * f);
extern FILE * make_file_stream(char * name, char * mode);
extern FILE * make_string_stream(char * buf, int nbytes_buf, char * mode);

#define _STRMOIDS_H_
#endif
