Main Page Modules Compound List File List Compound Members File Members Related Pages

# replacements.h

    00001 /* FreeTDS - Library of routines accessing Sybase and Microsoft databases
    00002  * Copyright (C) 1998-1999  Brian Bruns
    00003  *
    00004  * This library is free software; you can redistribute it and/or
    00005  * modify it under the terms of the GNU Library General Public
    00006  * License as published by the Free Software Foundation; either
    00007  * version 2 of the License, or (at your option) any later version.
    00008  *
    00009  * This library is distributed in the hope that it will be useful,
    00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
    00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    00012  * Library General Public License for more details.
    00013  *
    00014  * You should have received a copy of the GNU Library General Public
    00015  * License along with this library; if not, write to the
    00016  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    00017  * Boston, MA 02111-1307, USA.
    00018  */
    00019
    00020 #ifndef _replacements_h_
    00021 #define _replacements_h_
    00022
    00023 #ifdef __cplusplus
    00024 extern "C"
    00025 {
    00026 #if 0
    00027 }
    00028 #endif
    00029 #endif
    00030
    00031 static const char rcsid_replacements_h[] = "$Id: replacements.h,v 1.8 2004/10/28 12:42:12 freddy77 Exp $";
    00032 static const void *const no_unused_replacements_h_warn[] = { rcsid_replacements_h, no_unused_replacements_h_warn };
    00033
    00034 #include <stdarg.h>
    00035 #include "tds_sysdep_public.h"
    00036
    00037 #if !HAVE_VSNPRINTF
    00038 int vsnprintf(char *ret, size_t max, const char *fmt, va_list ap);
    00039 #endif /* !HAVE_VSNPRINTF */
    00040
    00041 #if !HAVE_ASPRINTF
    00042 int asprintf(char **ret, const char *fmt, ...);
    00043 #endif /* !HAVE_ASPRINTF */
    00044
    00045 #if !HAVE_VASPRINTF
    00046 int vasprintf(char **ret, const char *fmt, va_list ap);
    00047 #endif /* !HAVE_VASPRINTF */
    00048
    00049 #if !HAVE_ATOLL
    00050 tds_sysdep_int64_type atoll(const char *nptr);
    00051 #endif /* !HAVE_ATOLL */
    00052
    00053 #if !HAVE_STRTOK_R
    00054 char *strtok_r(char *str, const char *sep, char **lasts);
    00055 #endif /* !HAVE_STRTOK_R */
    00056
    00057 #ifdef __cplusplus
    00058 #if 0
    00059 {
    00060 #endif
    00061 }
    00062 #endif
    00063
    00064 #endif