From d3bcaf66a8568fc19a3013f9dc974fb08ee3a39a Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Thu, 23 Feb 2006 12:44:21 +0000 Subject: r13654: Move some more stuff out of include/ (This used to be commit 2ec7bba03a2edf713004941e9ed74798f5cf8d32) --- source4/include/pstring.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'source4/include/pstring.h') diff --git a/source4/include/pstring.h b/source4/include/pstring.h index 3683849686..392ada4533 100644 --- a/source4/include/pstring.h +++ b/source4/include/pstring.h @@ -26,6 +26,7 @@ */ #ifndef _PSTRING +#define _PSTRING #define PSTRING_LEN 1024 #define FSTRING_LEN 256 @@ -33,5 +34,9 @@ typedef char pstring[PSTRING_LEN]; typedef char fstring[FSTRING_LEN]; -#define _PSTRING +#define pstrcpy(d,s) safe_strcpy((d), (s),sizeof(pstring)-1) +#define pstrcat(d,s) safe_strcat((d), (s),sizeof(pstring)-1) +#define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) +#define fstrcat(d,s) safe_strcat((d),(s),sizeof(fstring)-1) + #endif -- cgit