~ubuntu-branches/ubuntu/breezy/quagga/breezy-security

« back to all changes in this revision

Viewing changes to lib/str.h

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Mueller
  • Date: 2005-05-20 13:16:12 UTC
  • Revision ID: james.westby@ubuntu.com-20050520131612-pr6paalox60o3x3n
Tags: upstream-0.99.1
ImportĀ upstreamĀ versionĀ 0.99.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * $Id: str.h,v 1.2 2005/04/02 16:01:05 ajs Exp $
 
3
 */
 
4
 
 
5
#ifndef _ZEBRA_STR_H
 
6
#define _ZEBRA_STR_H
 
7
 
 
8
#ifndef HAVE_SNPRINTF
 
9
int snprintf(char *, size_t, const char *, ...);
 
10
#endif
 
11
 
 
12
#ifndef HAVE_VSNPRINTF
 
13
#define vsnprintf(buf, size, format, args) vsprintf(buf, format, args)
 
14
#endif
 
15
 
 
16
#ifndef HAVE_STRLCPY
 
17
size_t strlcpy(char *, const char *, size_t);
 
18
#endif
 
19
 
 
20
#ifndef HAVE_STRLCAT
 
21
size_t strlcat(char *, const char *, size_t);
 
22
#endif
 
23
 
 
24
#ifndef HAVE_STRNLEN
 
25
extern size_t strnlen(const char *s, size_t maxlen);
 
26
#endif
 
27
 
 
28
#endif