From 351eb37a2555ce474ee02758f2f2cfee33d4d434 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 11 Sep 2007 18:31:29 +0000 Subject: r25102: Rewrite msdfs code to use talloced filenames. Passes make test and make valgrindtest. Final step will be to change srvstr_get_path() to return talloced memory in the major codepaths. Jeremy. (This used to be commit cf6b6f9c3a38b68d2671c753f412772344506742) --- source3/include/msdfs.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'source3/include/msdfs.h') diff --git a/source3/include/msdfs.h b/source3/include/msdfs.h index f78f76ba27..717bc85ed5 100644 --- a/source3/include/msdfs.h +++ b/source3/include/msdfs.h @@ -44,23 +44,23 @@ typedef struct _client_referral { } CLIENT_DFS_REFERRAL; struct referral { - pstring alternate_path; /* contains the path referred */ + char *alternate_path; /* contains the path referred */ uint32 proximity; uint32 ttl; /* how long should client cache referral */ }; struct junction_map { - fstring service_name; - pstring volume_name; - pstring comment; + char *service_name; + char *volume_name; + char *comment; int referral_count; struct referral* referral_list; }; struct dfs_path { - fstring hostname; - fstring servicename; - pstring reqpath; + char *hostname; + char *servicename; + char *reqpath; BOOL posix_path; }; -- cgit