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#include "sfhdr.h"
1N/A
1N/A/*
1N/A * _sfopen() wrapper to allow user sfopen() intercept
1N/A */
1N/A
1N/Aextern Sfio_t* _sfopen _ARG_((Sfio_t*, const char*, const char*));
1N/A
1N/A#if __STD_C
1N/ASfio_t* sfopen(Sfio_t* f, const char* file, const char* mode)
1N/A#else
1N/ASfio_t* sfopen(f,file,mode)
1N/ASfio_t* f; /* old stream structure */
1N/Achar* file; /* file/string to be opened */
1N/Areg char* mode; /* mode of the stream */
1N/A#endif
1N/A{
1N/A return _sfopen(f, file, mode);
1N/A}