Remove pstring usage.
[nivanova/samba-autobuild/.git] / source4 / include / pstring.h
index f3931fd67195be3f254f6dc06c1f0b349dceb02e..43fd7fdfcff292f92b17d8914826fde49e79b0a9 100644 (file)
 #define PSTRING_LEN 1024
 #define FSTRING_LEN 256
 
-typedef char pstring[PSTRING_LEN];
+_DEPRECATED_ typedef char pstring[PSTRING_LEN];
 typedef char fstring[FSTRING_LEN];
 
-#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)