summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-08-02 23:24:32 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:00:22 -0500
commitabb81cfe2688dec69fe154d3abff8eff388c779c (patch)
treeafc2dc7b0aaaa50622c9daed1c7c96eb6301c9da /source3/include
parent4ff44ae90e59d305bb765c88327a3d3292bafb35 (diff)
downloadsamba-abb81cfe2688dec69fe154d3abff8eff388c779c.tar.gz
samba-abb81cfe2688dec69fe154d3abff8eff388c779c.tar.bz2
samba-abb81cfe2688dec69fe154d3abff8eff388c779c.zip
r8959: Make msdfs code talloc based. Fix leaks.
Jeremy. (This used to be commit 076023df8ea7c0f03baf8102e55d347e05542c7b)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/msdfs.h17
1 files changed, 7 insertions, 10 deletions
diff --git a/source3/include/msdfs.h b/source3/include/msdfs.h
index ff035ddd49..f7aa494cd2 100644
--- a/source3/include/msdfs.h
+++ b/source3/include/msdfs.h
@@ -44,23 +44,20 @@ typedef struct _client_referral {
pstring dfspath;
} CLIENT_DFS_REFERRAL;
-struct referral
-{
+struct referral {
pstring alternate_path; /* contains the path referred */
uint32 proximity;
uint32 ttl; /* how long should client cache referral */
};
-struct junction_map
-{
- pstring service_name;
- pstring volume_name;
- int referral_count;
- struct referral* referral_list;
+struct junction_map {
+ pstring service_name;
+ pstring volume_name;
+ int referral_count;
+ struct referral* referral_list;
};
-struct dfs_path
-{
+struct dfs_path {
pstring hostname;
pstring servicename;
pstring reqpath;