/*************************************************************************
*
* $Id: trio.h 1886 2003-04-03 15:28:28Z veillard $
*
* Copyright (C) 1998 Bjorn Reese and Daniel Stenberg.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
* MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE AUTHORS AND
* CONTRIBUTORS ACCEPT NO RESPONSIBILITY IN ANY CONCEIVABLE MANNER.
*
*************************************************************************
*
*
************************************************************************/
#ifndef TRIO_TRIO_H
#define TRIO_TRIO_H
#if !defined(WITHOUT_TRIO)
/*
* Use autoconf defines if present. Packages using trio must define
* HAVE_CONFIG_H as a compiler option themselves.
*/
#if defined(HAVE_CONFIG_H)
# include <config.h>
#endif
#include "triodef.h"
#include <stdio.h>
#include <stdlib.h>
#if defined(TRIO_COMPILER_ANCIENT)
# include <varargs.h>
#else
# include <stdarg.h>
#endif
#ifdef __cplusplus
extern "C" {
#endif
/*
* Error codes.
*
* Remember to add a textual description to trio_strerror.
*/
enum {
};
/* Error macros */
/*************************************************************************
* Print Functions
*/
TRIO_CONST char *format, ...));
void **args));
/*************************************************************************
* Scan Functions
*/
TRIO_CONST char *format, ...));
/*************************************************************************
* Locale Functions
*/
/*************************************************************************
* Renaming
*/
#ifdef TRIO_REPLACE_STDIO
/* Replace the <stdio.h> functions */
#ifndef HAVE_PRINTF
#endif
#ifndef HAVE_VPRINTF
#endif
#ifndef HAVE_FPRINTF
#endif
#ifndef HAVE_VFPRINTF
#endif
#ifndef HAVE_SPRINTF
#endif
#ifndef HAVE_VSPRINTF
#endif
#ifndef HAVE_SNPRINTF
#endif
#ifndef HAVE_VSNPRINTF
#endif
#ifndef HAVE_SCANF
#endif
#ifndef HAVE_VSCANF
#endif
#ifndef HAVE_FSCANF
#endif
#ifndef HAVE_VFSCANF
#endif
#ifndef HAVE_SSCANF
#endif
#ifndef HAVE_VSSCANF
#endif
/* These aren't stdio functions, but we make them look similar */
#endif
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif /* WITHOUT_TRIO */
#endif /* TRIO_TRIO_H */