/* * TOIlet The Other Implementation’s letters * Copyright (c) 2006 Sam Hocevar * All Rights Reserved * * $Id: io.h 1461 2006-12-12 01:50:48Z sam $ * * This program is free software. It comes without any warranty, to * the extent permitted by applicable law. You can redistribute it * and/or modify it under the terms of the Do What The Fuck You Want * To Public License, Version 2, as published by Sam Hocevar. See * http://sam.zoy.org/wtfpl/COPYING for more details. */ /* * This header defines functions for compressed file I/O. */ typedef struct toifile TOIFILE; TOIFILE *toiopen(const char *, const char *); int toiclose(TOIFILE *); int toieof(TOIFILE *); char *toigets(char *, int, TOIFILE *);