blob: 6be2583f2021fd7ca99dc8f75c2c5b68025aa1bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/* Copyright (C) 1999 Aladdin Enterprises. All rights reserved.
This software is licensed to a single customer by Artifex Software Inc.
under the terms of a specific OEM agreement.
*/
/*$RCSfile$ $Revision$ */
/* ASCII85Decode filter interface */
/* Requires scommon.h; strimpl.h if any templates are referenced */
#ifndef sa85d_INCLUDED
# define sa85d_INCLUDED
/* ASCII85Decode */
typedef struct stream_A85D_state_s {
stream_state_common;
int odd; /* # of odd digits */
ulong word; /* word being accumulated */
} stream_A85D_state;
#define private_st_A85D_state() /* in sfilter2.c */\
gs_private_st_simple(st_A85D_state, stream_A85D_state,\
"ASCII85Decode state")
/* We define the initialization procedure here, so that the scanner */
/* can avoid a procedure call. */
#define s_A85D_init_inline(ss)\
((ss)->word = 0, (ss)->odd = 0)
extern const stream_template s_A85D_template;
#endif /* sa85d_INCLUDED */
|