source: gaycko/src/io/file.h @ 4716

Last change on this file since 4716 was 4716, checked in by Jean-Yves Lamoureux, 10 years ago
  • Initial commit -This line, and those below, will be ignored--

A gaycko/tests
A gaycko/tests/lnx.html
A gaycko/tests/html.html
A gaycko/tests/simple.html
A gaycko/configure.ac
A gaycko/src
A gaycko/src/dom
A gaycko/src/dom/dom.c
A gaycko/src/dom/dom.h
A gaycko/src/helpers
A gaycko/src/helpers/str.c
A gaycko/src/helpers/str.h
A gaycko/src/gaycko.h
A gaycko/src/parsing
A gaycko/src/parsing/parse.h
A gaycko/src/parsing/parse.c
A gaycko/src/io
A gaycko/src/io/file.c
A gaycko/src/io/http.c
A gaycko/src/io/file.h
A gaycko/src/io/http.h
A gaycko/src/io/io.c
A gaycko/src/io/io.h
A gaycko/src/Makefile.am
A gaycko/src/gaycko.c
A gaycko/Makefile.am
AM gaycko/bootstrap

File size: 226 bytes
Line 
1#ifndef FILE_H
2#define FILE_H
3
4#include <stdio.h>
5
6
7struct gFile_ {
8        FILE *fp;
9    unsigned int  size;
10    char *data;
11
12};
13
14typedef struct gFile_ gFile;
15
16
17gFile *file_open(char* filename);
18void   file_close(gFile *f);
19
20#endif
Note: See TracBrowser for help on using the repository browser.