home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / fontutils-0.6 / imgrotate / img-output.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-03-27  |  1.1 KB  |  37 lines

  1. /* img-output.h: declarations for writing an IMG file.
  2.  
  3. Copyright (C) 1992 Free Software Foundation, Inc.
  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, or (at your option)
  8. 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. #ifndef IMG_OUTPUT_H
  20. #define IMG_OUTPUT_H
  21.  
  22. #include "img.h"
  23. #include "types.h"
  24.  
  25.  
  26. /* At most one IMG file can be open for writing at a time.  */
  27. extern boolean open_img_output_file (string filename);
  28. extern void close_img_output_file ();
  29.  
  30. /* Write the header H.  */
  31. extern void put_img_header (img_header_type h);
  32.  
  33. /* Write the single byte B.  */
  34. extern void img_put_byte (one_byte b);
  35.  
  36. #endif /* not IMG_OUTPUT_H */
  37.