~ubuntu-branches/ubuntu/quantal/duff/quantal

« back to all changes in this revision

Viewing changes to src/duffstring.h

  • Committer: Package Import Robot
  • Author(s): Kamal Mostafa
  • Date: 2012-01-29 08:02:46 UTC
  • Revision ID: package-import@ubuntu.com-20120129080246-jd9w62dkx0v5q7r1
Tags: upstream-0.5.2
ImportĀ upstreamĀ versionĀ 0.5.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * duff - Duplicate file finder
 
3
 * Copyright (c) 2005 Camilla Berglund <elmindreda@elmindreda.org>
 
4
 *
 
5
 * This software is provided 'as-is', without any express or implied
 
6
 * warranty. In no event will the authors be held liable for any
 
7
 * damages arising from the use of this software.
 
8
 *
 
9
 * Permission is granted to anyone to use this software for any
 
10
 * purpose, including commercial applications, and to alter it and
 
11
 * redistribute it freely, subject to the following restrictions:
 
12
 *
 
13
 *  1. The origin of this software must not be misrepresented; you
 
14
 *     must not claim that you wrote the original software. If you use
 
15
 *     this software in a product, an acknowledgment in the product
 
16
 *     documentation would be appreciated but is not required.
 
17
 *
 
18
 *  2. Altered source versions must be plainly marked as such, and
 
19
 *     must not be misrepresented as being the original software.
 
20
 *
 
21
 *  3. This notice may not be removed or altered from any source
 
22
 *     distribution.
 
23
 */
 
24
 
 
25
#if !HAVE_VASPRINTF
 
26
int vasprintf(char** result, const char* format, va_list vl);
 
27
#endif /*HAVE_VASPRINTF*/
 
28
 
 
29
#if !HAVE_ASPRINTF
 
30
int asprintf(char** result, const char* format, ...);
 
31
#endif /*HAVE_ASPRINTF*/
 
32