~ubuntu-branches/ubuntu/jaunty/transmission/jaunty-security

« back to all changes in this revision

Viewing changes to libtransmission/trcompat.h

  • Committer: Bazaar Package Importer
  • Author(s): Philipp Benner
  • Date: 2007-11-22 12:37:14 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20071122123714-b0xi4zxhgk5qwbmc
Tags: 0.93.dfsg-2
* Added missing build-dependency (python).
* debian/control: switching to Homepage, Vcs-Browser and Vcs-Svn official
  fields (Leo "costela" Antunes)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/******************************************************************************
2
 
 * $Id: trcompat.h 2551 2007-07-30 14:31:03Z charles $
 
2
 * $Id: trcompat.h 3651 2007-10-30 19:16:06Z charles $
3
3
 *
4
4
 * Copyright (c) 2005-2007 Transmission authors and contributors
5
5
 *
28
28
#include <stddef.h> /* for size_t */
29
29
 
30
30
#ifndef HAVE_STRLCPY
31
 
size_t
32
 
strlcpy(char *dst, const char *src, size_t siz);
 
31
size_t strlcpy(char *dst, const char *src, size_t siz);
33
32
#endif
34
33
 
35
34
#ifndef HAVE_STRLCAT
36
 
size_t
37
 
strlcat(char *dst, const char *src, size_t siz);
 
35
size_t strlcat(char *dst, const char *src, size_t siz);
38
36
#endif
39
37
 
40
38
#ifndef HAVE_ASPRINTF
42
40
int vasprintf( char **, const char *, va_list );
43
41
#endif
44
42
 
45
 
#if defined(HAVE_DIRNAME) || defined(HAVE_BASENAME)
46
 
    #include <libgen.h>
47
 
#endif
48
 
#ifndef HAVE_DIRNAME
49
 
    char* dirname(const char *path);
50
 
#endif
51
 
#ifndef HAVE_BASENAME
52
 
    char* basename(const char *path);
53
 
#endif
54
 
 
55
43
#endif /* TRCOMPAT_H */