summaryrefslogtreecommitdiffstats
path: root/source3/include/msdfs.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-09-11 18:31:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:30:40 -0500
commit351eb37a2555ce474ee02758f2f2cfee33d4d434 (patch)
treed7a9472eaeece669c613b9d6228b14cfe07ea6d4 /source3/include/msdfs.h
parentd65ba539a4bd9671bab6f70e140dcc6fb8f0733e (diff)
downloadsamba-351eb37a2555ce474ee02758f2f2cfee33d4d434.tar.gz
samba-351eb37a2555ce474ee02758f2f2cfee33d4d434.tar.xz
samba-351eb37a2555ce474ee02758f2f2cfee33d4d434.zip
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)
Diffstat (limited to 'source3/include/msdfs.h')
-rw-r--r--source3/include/msdfs.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/source3/include/msdfs.h b/source3/include/msdfs.h
index f78f76ba27f..717bc85ed54 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;
};