diff options
author | Luke Leighton <lkcl@samba.org> | 1999-07-15 20:44:24 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-07-15 20:44:24 +0000 |
commit | 939f6d6794e1dc0677624ac67d1f00950417b713 (patch) | |
tree | ed2b5e91fe8040b455647ef552d1430138f9d6d9 /source3/include | |
parent | 2b354d7330785337558a678f2b2484691ad7f2eb (diff) | |
download | samba-939f6d6794e1dc0677624ac67d1f00950417b713.tar.gz samba-939f6d6794e1dc0677624ac67d1f00950417b713.tar.bz2 samba-939f6d6794e1dc0677624ac67d1f00950417b713.zip |
more dfs stuff. this looks like it's going to be more appropriate to use
the vfs tables. at the moment, i replaced all calls to unix_convert()
with unix_dfs_convert().
this does the job, but it's not very nice.
(This used to be commit 00d4aebce9f268a737ef9df9bdbe59f8fe831979)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index c17cbb657b..4cea4b6cee 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -3315,7 +3315,8 @@ SMB_BIG_UINT sys_disk_free(char *path,SMB_BIG_UINT *bsize,SMB_BIG_UINT *dfree,SM /*The following definitions come from smbd/dfs.c */ BOOL init_dfs_table(void); -int under_dfs(connection_struct *conn, const char *path); +int under_dfs(connection_struct *conn, const char *path, + char *local_path, size_t path_len); /*The following definitions come from smbd/dir.c */ @@ -3370,8 +3371,12 @@ void sys_sync_file(int fd); /*The following definitions come from smbd/filename.c */ void print_stat_cache_statistics(void); -BOOL unix_convert(char *name,connection_struct *conn,char *saved_last_component, - BOOL *bad_path, SMB_STRUCT_STAT *pst); +BOOL unix_dfs_convert(char *name,connection_struct *conn, + char *saved_last_component, + BOOL *bad_path, SMB_STRUCT_STAT *pst); +BOOL unix_convert(char *name,connection_struct *conn, + char *saved_last_component, + BOOL *bad_path, SMB_STRUCT_STAT *pst); BOOL check_name(char *name,connection_struct *conn); /*The following definitions come from smbd/files.c */ |