xstring: renamed strlcpy into xstring to add further related string functions
[netsniff-ng.git] / src / xstring.h
blobc2e3d679fb405c8efcfa123ad50d7ab7901efac4
1 /*
2 * netsniff-ng - the packet sniffing beast
3 * By Daniel Borkmann <daniel@netsniff-ng.org>
4 * Copyright 2009, 2010, 2011, 2012 Daniel Borkmann.
5 * Copyright 2009, 2010, 2011, 2012 Emmanuel Roullit.
6 * Subject to the GPL, version 2.
7 */
9 #ifndef XSTRING_H
10 #define XSTRING_H
12 extern size_t strlcpy(char *dest, const char *src, size_t size);
13 extern int slprintf(char *dst, size_t size, const char *fmt, ...);
15 #endif /* XSTRING_H */