summaryrefslogtreecommitdiffstats
path: root/source/include
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
commitcf6b6f9c3a38b68d2671c753f412772344506742 (patch)
treecdaddc46a10699f9f385acdc6824990587eba81e /source/include
parentaa768a4a20930833d6921ed112601873b228a64d (diff)
downloadsamba-cf6b6f9c3a38b68d2671c753f412772344506742.tar.gz
samba-cf6b6f9c3a38b68d2671c753f412772344506742.tar.xz
samba-cf6b6f9c3a38b68d2671c753f412772344506742.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.
Diffstat (limited to 'source/include')
-rw-r--r--source/include/msdfs.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/source/include/msdfs.h b/source/include/msdfs.h
index f78f76ba27f..717bc85ed54 100644
--- a/source/include/msdfs.h
+++ b/source/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;
};