~ubuntu-branches/ubuntu/gutsy/curl/gutsy

« back to all changes in this revision

Viewing changes to include/curl/mprintf.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2006-06-29 15:04:24 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20060629150424-pn00qumt9sml8p4m
Tags: 7.15.4-1ubuntu1
Synchronize to Debian. Only change left: Removal of stunnel and
libdb4.2-dev build dependencies.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 *                            | (__| |_| |  _ <| |___
8
8
 *                             \___|\___/|_| \_\_____|
9
9
 *
10
 
 * Copyright (C) 1998 - 2004, Daniel Stenberg, <daniel@haxx.se>, et al.
 
10
 * Copyright (C) 1998 - 2006, Daniel Stenberg, <daniel@haxx.se>, et al.
11
11
 *
12
12
 * This software is licensed as described in the file COPYING, which
13
13
 * you should have received as part of this distribution. The terms
20
20
 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
21
21
 * KIND, either express or implied.
22
22
 *
23
 
 * $Id: mprintf.h,v 1.11 2005/12/02 23:23:49 bagder Exp $
 
23
 * $Id: mprintf.h,v 1.13 2006-03-28 10:08:54 bagder Exp $
24
24
 ***************************************************************************/
25
25
 
26
26
#include <stdarg.h>
42
42
#ifdef _MPRINTF_REPLACE
43
43
# define printf curl_mprintf
44
44
# define fprintf curl_mfprintf
 
45
#ifdef CURLDEBUG
 
46
/* When built with CURLDEBUG we define away the sprintf() functions since we
 
47
   don't want internal code to be using them */
 
48
# define sprintf sprintf_was_used
 
49
# define vsprintf vsprintf_was_used
 
50
#else
45
51
# define sprintf curl_msprintf
 
52
# define vsprintf curl_mvsprintf
 
53
#endif
46
54
# define snprintf curl_msnprintf
47
55
# define vprintf curl_mvprintf
48
56
# define vfprintf curl_mvfprintf
49
 
# define vsprintf curl_mvsprintf
50
57
# define vsnprintf curl_mvsnprintf
51
58
# define aprintf curl_maprintf
52
59
# define vaprintf curl_mvaprintf