summaryrefslogtreecommitdiff
path: root/source4/ntvfs/posix/vfs_posix.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-10-27 01:11:44 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:04:48 -0500
commitb9ddb09f03332a9c4442e61bb5c73f7bde04d1d6 (patch)
treeb5d0875e981f6dec57cc06ce98ce3a1428817e86 /source4/ntvfs/posix/vfs_posix.h
parent05ad898f68a2df1b102af95fdba0704479bde073 (diff)
downloadsamba-b9ddb09f03332a9c4442e61bb5c73f7bde04d1d6.tar.gz
samba-b9ddb09f03332a9c4442e61bb5c73f7bde04d1d6.tar.bz2
samba-b9ddb09f03332a9c4442e61bb5c73f7bde04d1d6.zip
r3276: - allow for more than 256 open old style searches (limit currently set at an arbitrary 5000)
- auto-cleanup old searches that the client forgot to close (common with old searches) - expanded the RAW-SEARCH test to test more than 256 old searches, and old search rewind (w2k3 fails this - it appears to not support rewind on old style searches) (This used to be commit bc83d823b2140a10007490bf0101843a886f99a6)
Diffstat (limited to 'source4/ntvfs/posix/vfs_posix.h')
-rw-r--r--source4/ntvfs/posix/vfs_posix.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/source4/ntvfs/posix/vfs_posix.h b/source4/ntvfs/posix/vfs_posix.h
index 19408848fd..231d9a2d08 100644
--- a/source4/ntvfs/posix/vfs_posix.h
+++ b/source4/ntvfs/posix/vfs_posix.h
@@ -75,16 +75,6 @@ struct pvfs_filename {
};
-/* the state of a search started with pvfs_search_first() */
-struct pvfs_search_state {
- struct pvfs_state *pvfs;
- uint16_t handle;
- uint_t current_index;
- uint16_t search_attrib;
- uint16_t must_attrib;
- struct pvfs_dir *dir;
-};
-
/* open file state */
struct pvfs_file {
struct pvfs_file *next, *prev;
@@ -161,4 +151,7 @@ struct pvfs_mangle_context {
#define PVFS_FLAG_STRICT_SYNC (1<<5)
#define PVFS_FLAG_STRICT_LOCKING (1<<6)
+/* forward declare some anonymous structures */
+struct pvfs_dir;
+
#endif /* _VFS_POSIX_H_ */