about summary refs log tree commit diff
path: root/lib/bitio.h
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2015-06-28 15:34:21 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2015-06-28 15:34:21 +0000
commit620ecbee2ed1cb478e0289722d86dd72717f1cb8 (patch)
tree7a427b24d86f6789706acee21a52dca15b88806b /lib/bitio.h
parent8c2dab4922b514045cbae8e71ba93aaf8c0fff48 (diff)
downloadnetpbm-mirror-620ecbee2ed1cb478e0289722d86dd72717f1cb8.tar.gz
netpbm-mirror-620ecbee2ed1cb478e0289722d86dd72717f1cb8.tar.xz
netpbm-mirror-620ecbee2ed1cb478e0289722d86dd72717f1cb8.zip
Release 10.71.00
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@2588 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'lib/bitio.h')
-rw-r--r--lib/bitio.h89
1 files changed, 0 insertions, 89 deletions
diff --git a/lib/bitio.h b/lib/bitio.h
deleted file mode 100644
index dfc5a153..00000000
--- a/lib/bitio.h
+++ /dev/null
@@ -1,89 +0,0 @@
-/*\
- * $Id: bitio.h,v 1.4 1992/11/24 19:37:02 dws Exp dws $
- *
- * bitio.h - bitstream I/O
- *
- * Works for (sizeof(unsigned long)-1)*8 bits.
- *
- * Copyright (C) 1992 by David W. Sanderson.
- * 
- * Permission to use, copy, modify, and distribute this software and its
- * documentation for any purpose and without fee is hereby granted,
- * provided that the above copyright notice appear in all copies and
- * that both that copyright notice and this permission notice appear
- * in supporting documentation.  This software is provided "as is"
- * without express or implied warranty.
- *
- * $Log: bitio.h,v $
- * Revision 1.4  1992/11/24  19:37:02  dws
- * Added copyright
- *
- * Revision 1.3  1992/11/17  03:37:59  dws
- * updated comment
- *
- * Revision 1.2  1992/11/10  23:10:22  dws
- * Generalized to handle more than one bitstream at a time.
- *
- * Revision 1.1  1992/11/10  18:33:51  dws
- * Initial revision
- *
-\*/
-
-#ifndef _BITIO_H_
-#define _BITIO_H_
-
-#include <netpbm/pm.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-#if 0
-} /* to fake out automatic code indenters */
-#endif
-
-typedef struct bitstream	*BITSTREAM;
-
-struct bitstream *
-pm_bitinit(FILE * const f, const char * const mode);
-
-/*
- * pm_bitfini() - deallocate the given BITSTREAM.
- *
- * You must call this after you are done with the BITSTREAM.
- * 
- * It may flush some bits left in the buffer.
- *
- * Returns the number of bytes written, -1 on error.
- */
-
-int
-pm_bitfini(BITSTREAM b);
-
-/*
- * pm_bitread() - read the next nbits into *val from the given file.
- * 
- * Returns the number of bytes read, -1 on error.
- */
-
-int
-pm_bitread(BITSTREAM       b,
-           unsigned long   nbits,
-           unsigned long * val);
-
-/*
- * pm_bitwrite() - write the low nbits of val to the given file.
- * 
- * The last pm_bitwrite() must be followed by a call to pm_bitflush().
- * 
- * Returns the number of bytes written, -1 on error.
- */
-
-int
-pm_bitwrite(BITSTREAM     b,
-            unsigned long nbits,
-            unsigned long val);
-
-#ifdef __cplusplus
-}
-#endif
-#endif