Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (11 sloc) 345 Bytes
/* -*- c-basic-offset: 8 -*- */
#ifndef _STREAM_H_
#define _STREAM_H_
struct instream {
void* hstream;
void (*close_stream)(struct instream*);
int (*get_char)(struct instream*);
void (*put_char)(struct instream*, int);
};
int init_file_stream(struct instream* stream, const char* filename);
#endif//_STREAM_H_
Something went wrong with that request. Please try again.