1N/A/***********************************************************************
1N/A* *
1N/A* This software is part of the ast package *
1N/A* Copyright (c) 1985-2011 AT&T Intellectual Property *
1N/A* and is licensed under the *
1N/A* Common Public License, Version 1.0 *
1N/A* by AT&T Intellectual Property *
1N/A* *
1N/A* A copy of the License is available at *
1N/A* http://www.opensource.org/licenses/cpl1.0.txt *
1N/A* (with md5 checksum 059e8cd6165cb4c31e351f2b69388fd9) *
1N/A* *
1N/A* Information and Software Systems Research *
1N/A* AT&T Research *
1N/A* Florham Park NJ *
1N/A* *
1N/A* Glenn Fowler <gsf@research.att.com> *
1N/A* David Korn <dgk@research.att.com> *
1N/A* Phong Vo <kpv@research.att.com> *
1N/A* *
1N/A***********************************************************************/
1N/A#ifndef _SFIO_S_H
1N/A#define _SFIO_S_H 1
1N/A
1N/A/*
1N/A * sfio file structure used by sfio and the stdio source compatibility library
1N/A */
1N/A
1N/A#if !defined(_SFHDR_H) && defined(_SFIO_H) && SFIO_VERSION < 20020214L
1N/A#define _data data
1N/A#define _endb endb
1N/A#define _next next
1N/A#endif
1N/A
1N/Astruct _sfio_s
1N/A{ unsigned char* _next; /* next position to read/write from */
1N/A unsigned char* _endw; /* end of write buffer */
1N/A unsigned char* _endr; /* end of read buffer */
1N/A unsigned char* _endb; /* end of buffer */
1N/A struct _sfio_s* _push; /* the stream that was pushed on */
1N/A unsigned short _flags; /* type of stream */
1N/A short _file; /* file descriptor */
1N/A unsigned char* _data; /* base of data buffer */
1N/A ssize_t _size; /* buffer size */
1N/A ssize_t _val; /* values or string lengths */
1N/A#ifdef _SFIO_PRIVATE
1N/A _SFIO_PRIVATE
1N/A#endif
1N/A};
1N/A
1N/A#endif