summaryrefslogtreecommitdiff
path: root/source4/smb_server/search.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-09-29 13:17:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:59:30 -0500
commitdcad0f6fd492506efd9a69b4e32c7bbfa5da90e5 (patch)
tree5dd39ae343981c37d3a735abf0cb799a86b1245b /source4/smb_server/search.c
parentcd5326a44ee1f83ff9a1d96d50b56db9a2eb0d94 (diff)
downloadsamba-dcad0f6fd492506efd9a69b4e32c7bbfa5da90e5.tar.gz
samba-dcad0f6fd492506efd9a69b4e32c7bbfa5da90e5.tar.bz2
samba-dcad0f6fd492506efd9a69b4e32c7bbfa5da90e5.zip
r2751: this is a new ntvfs design which tries to solve:
- the stacking of modules - finding the modules private data - hide the ntvfs details from the calling layer - I set NTVFS_INTERFACE_VERSION 0 till we are closer to release (because we need to solve some async problems with the module stacking) metze (This used to be commit 3ff03b5cb21bb79afdd3b1609be9635f6688a539)
Diffstat (limited to 'source4/smb_server/search.c')
-rw-r--r--source4/smb_server/search.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/smb_server/search.c b/source4/smb_server/search.c
index acd1b6d417..6a8653c749 100644
--- a/source4/smb_server/search.c
+++ b/source4/smb_server/search.c
@@ -174,7 +174,7 @@ void reply_search(struct smbsrv_request *req)
sn->search_next.in.search_attrib = SVAL(req->in.vwv, VWV(1));
/* call backend */
- status = req->tcon->ntvfs_ops->search_next(req, sn, &state, find_callback);
+ status = ntvfs_search_next(req, sn, &state, find_callback);
SSVAL(req->out.vwv, VWV(0), sn->search_next.out.count);
} else {
/* do a search first operation */
@@ -183,7 +183,7 @@ void reply_search(struct smbsrv_request *req)
sf->search_first.in.max_count = SVAL(req->in.vwv, VWV(0));
/* call backend */
- status = req->tcon->ntvfs_ops->search_first(req, sf, &state, find_callback);
+ status = ntvfs_search_first(req, sf, &state, find_callback);
SSVAL(req->out.vwv, VWV(0), sf->search_first.out.count);
}
@@ -272,7 +272,7 @@ void reply_fclose(struct smbsrv_request *req)
req->async.private = sc;
/* call backend */
- req->async.status = req->tcon->ntvfs_ops->search_close(req, sc);
+ req->async.status = ntvfs_search_close(req, sc);
REQ_ASYNC_TAIL;
}