source: toilet/trunk/src/io.h @ 1201

Last change on this file since 1201 was 1201, checked in by Sam Hocevar, 17 years ago
  • Moved I/O functions into a separate module.
  • Property svn:keywords set to Id
File size: 642 bytes
Line 
1/*
2 *  TOIlet        The Other Implementation’s letters
3 *  Copyright (c) 2006 Sam Hocevar <sam@zoy.org>
4 *                All Rights Reserved
5 *
6 *  $Id: io.h 1201 2006-10-13 13:36:23Z sam $
7 *
8 *  This program is free software; you can redistribute it and/or
9 *  modify it under the terms of the Do What The Fuck You Want To
10 *  Public License, Version 2, as published by Sam Hocevar. See
11 *  http://sam.zoy.org/wtfpl/COPYING for more details.
12 */
13
14/*
15 * This header defines functions for compressed file I/O.
16 */
17typedef struct toifile
18{
19    FILE *f;
20}
21TOIFILE;
22
23TOIFILE *toiopen(const char *, const char *);
24int toiclose(TOIFILE *);
25char *toigets(char *, int, TOIFILE *);
26
Note: See TracBrowser for help on using the repository browser.