/***********************************************************************
* *
* This software is part of the ast package *
* Copyright (c) 1998-2011 AT&T Intellectual Property *
* and is licensed under the *
* Eclipse Public License, Version 1.0 *
* by AT&T Intellectual Property *
* *
* A copy of the License is available at *
* (with md5 checksum b35adb5213ca9657e911e9befb180842) *
* *
* Information and Software Systems Research *
* AT&T Research *
* Florham Park NJ *
* *
* Glenn Fowler <gsf@research.att.com> *
* *
***********************************************************************/
#pragma prototyped
/*
* partitioned fixed record zip library private definitions
*/
#ifndef _PZLIB_H
#include <ast.h>
#include <dt.h>
#include <ctype.h>
#include <error.h>
#include <tv.h>
#define _(s) ERROR_translate(0,0,0,s)
struct Pz_s;
{
} Pzelt_t;
{
} Pzrs_t;
{
} Pzws_t;
{
} Pzss_t;
#define _PZ_PART_PRIVATE_ \
void* discdata; /* discipline specific data */
#define _PZ_PRIVATE_ \
char* partname; /* specific part name */ \
struct \
{ \
int skip; /* skip prefix on decompress */ \
int terminator; /* prefix record terminator */ \
char* data; /* prefix data */ \
} prefix; /* header prefix info */ \
struct \
{ \
} sort; /* PZ_SORT info */ \
char* headoptions; /* header options */ \
char* options; /* current options */ \
void* discdata; /* discipline specific data */
#include <pzip.h>
{
} Pzdllpz_t;
{
} Pzdll_t;
typedef struct
{
} Pzstate_t;
{ \
z &= (SF_MORE - 1); \
{ \
if (i < 0) \
{ \
return -1; \
} \
} \
z = (z << SF_UBITS) | i; \
}
a; \
if (z & SF_MORE) \
{ \
z &= (SF_MORE - 1); \
{ \
if (i < 0) \
{ \
return -1; \
} \
} \
z = (z << SF_UBITS) | i; \
}
#endif