home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / wps / graphic / xicon / src / iconio.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-01-03  |  1.3 KB  |  44 lines

  1. /* This file is iconio.h (part of XIcon)
  2.  *
  3.  * Copyright (C) 1993 by Norman Walsh
  4.  *
  5.  *   This program is free software; you can redistribute it and/or modify
  6.  *   it under the terms of the GNU General Public License as published by
  7.  *   the Free Software Foundation; either version 2 of the License, or
  8.  *   (at your option) any later version.
  9.  *
  10.  *   This program is distributed in the hope that it will be useful,
  11.  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13.  *   GNU General Public License for more details.
  14.  *
  15.  *   You should have received a copy of the GNU General Public License
  16.  *   along with this program; if not, write to the Free Software
  17.  *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  18.  ************************************************************************/
  19.  
  20. #ifndef ICONIO_H
  21. #define ICONIO_H
  22.  
  23. #ifndef SEEK_SET
  24. #define SEEK_SET 0
  25. #endif
  26.  
  27. extern FILE *input;
  28. extern FILE *output;
  29. extern FILE *maskfile;
  30. extern int  rc;
  31.  
  32. int read_int();
  33. short int read_shortint();
  34. unsigned char read_char();
  35. int read_macint();
  36. int read_macint3();
  37. short int read_macshortint();
  38. unsigned char read_macchar();
  39. void write_int(unsigned int);
  40. void write_shortint(unsigned short int);
  41. void write_char(unsigned char);
  42.  
  43. #endif /* not ICONIO_H */
  44.