Subversion Repositories planix.SVN

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
/* Copyright (C) 1995 Aladdin Enterprises.  All rights reserved.
2
 
3
  This software is provided AS-IS with no warranty, either express or
4
  implied.
5
 
6
  This software is distributed under license and may not be copied,
7
  modified or distributed except as expressly authorized under the terms
8
  of the license contained in the file LICENSE in this distribution.
9
 
10
  For more information about licensing, please refer to
11
  http://www.ghostscript.com/licensing/. For information on
12
  commercial licensing, go to http://www.artifex.com/licensing/ or
13
  contact Artifex Software, Inc., 101 Lucas Valley Road #110,
14
  San Rafael, CA  94903, U.S.A., +1(415)492-9861.
15
*/
16
 
17
/* $Id: sbtx.h,v 1.4 2002/02/21 22:24:53 giles Exp $ */
18
/* Definitions for ByteTranslate filters */
19
/* Requires scommon.h; strimpl.h if any templates are referenced */
20
 
21
#ifndef sbtx_INCLUDED
22
#  define sbtx_INCLUDED
23
 
24
/* ByteTranslateEncode/Decode */
25
typedef struct stream_BT_state_s {
26
    stream_state_common;
27
    byte table[256];
28
} stream_BT_state;
29
typedef stream_BT_state stream_BTE_state;
30
typedef stream_BT_state stream_BTD_state;
31
 
32
#define private_st_BT_state()	/* in sfilter1.c */\
33
  gs_private_st_simple(st_BT_state, stream_BT_state,\
34
    "ByteTranslateEncode/Decode state")
35
extern const stream_template s_BTE_template;
36
extern const stream_template s_BTD_template;
37
 
38
#endif /* sbtx_INCLUDED */