ospfd: Tighten up the connected check for redistribution
[jleu-quagga.git] / lib / str.h
blob7b83fe1cb14bfd284173cfd10f031f65a3eedeaa
1 /*
2 * $Id: str.h,v 1.4 2005/09/19 09:53:21 hasso Exp $
3 */
5 #ifndef _ZEBRA_STR_H
6 #define _ZEBRA_STR_H
8 #ifndef HAVE_SNPRINTF
9 extern int snprintf(char *, size_t, const char *, ...);
10 #endif
12 #ifndef HAVE_VSNPRINTF
13 #define vsnprintf(buf, size, format, args) vsprintf(buf, format, args)
14 #endif
16 #ifndef HAVE_STRLCPY
17 extern size_t strlcpy(char *, const char *, size_t);
18 #endif
20 #ifndef HAVE_STRLCAT
21 extern size_t strlcat(char *, const char *, size_t);
22 #endif
24 #ifndef HAVE_STRNLEN
25 extern size_t strnlen(const char *s, size_t maxlen);
26 #endif
28 #ifndef HAVE_STRNDUP
29 extern char * strndup (const char *, size_t);
30 #endif
32 #endif /* _ZEBRA_STR_H */