summaryrefslogtreecommitdiff
path: root/source4/ntvfs/simple/svfs.h
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r15734: This is a major change to the NTVFS subsystem:Stefan Metzmacher1-0/+3
- to use a struct ntvfs_handle instead of a uint16_t fnum. (to make it independend from the frontend protocol) - the allocation of handles now is provided by the frontend (smbsrv_*) via callbacks and not by each backend module - this also makes sure that file handles are only passed to the ntvfs subsystem when the tcon and session matches, so modules can rely on this and need to check this. - this allows multiple modules in the ntvfs module chain to allocate file handles. This can be used for virtual files like "\\$Extend\\$Quota:$Q:$INDEX_ALLOCATION"... - also this will make SMB2 with 128 bit file handles possible metze (This used to be commit 287fc1c22d670f6e568014b420f7f4cb31dc7958)
2007-10-10r15387: Fix installation of dcerpc headers, remove more instances of uint_tJelmer Vernooij1-2/+2
(This used to be commit 9e9bfd04c6db013453b900e201df9c09e8777a22)
2007-10-10r2751: this is a new ntvfs design which tries to solve:Stefan Metzmacher1-2/+0
- 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)
2007-10-10r2671: we're getting too many errors caused by the talloc_realloc() API notAndrew Tridgell1-1/+1
taking a context (so when you pass a NULL pointer you end up with memory in a top level context). Fixed it by changing the API to take a context. The context is only used if the pointer you are reallocing is NULL. (This used to be commit 8dc23821c9f54b2f13049b5e608a0cafb81aa540)
2007-10-10r2561: completely redid the ntvfs module chaining code, You can now do ↵Andrew Tridgell1-0/+2
something like: ntvfs handler = nbench posix and the nbench pass-thru module will be called before the posix module. The chaining logic is now much saner, and less racy, with each level in the chain getting its own private pointer rather than relying on save/restore logic in the pass-thru module. The only pass-thru module we have at the moment is the nbench one (which records all traffic in a nbench compatibe format), but I plan on soon writing a "unixuid" pass-thru module that will implement the setegid()/setgroups()/seteuid() logic for standard posix uid handling. This separation of the posix backend from the uid handling should simplify the code, and make development easier. I also modified the nbench module so it can do multiple chaining, so if you want to you can do: ntvfs module = nbench nbench posix and it will save 2 copies of the log file in /tmp. This is really only useful for testing at the moment until we have more than one pass-thru module. (This used to be commit f84c0af35cb54c8fdc4933afefc18fa4c062aae4)
2007-10-10r2403: got rid of a unnecessary mem_ctx in the simple backendAndrew Tridgell1-1/+0
(This used to be commit a4dcf005f30afcb2edd57d450ff9b90341c318a2)
2007-10-10r889: convert samba4 to use [u]int16_t instead of [u]int16Stefan Metzmacher1-2/+2
metze (This used to be commit af6f1f8a01bebbecd99bc8c066519e89966e65e3)
2007-10-10r65: added support for file streams in the simple NTVFS backendAndrew Tridgell1-0/+8
(This used to be commit 9a9cc44a05510a69ad902db4d01dc12b6ac4f8ba)
2003-08-13first public release of samba4 codeAndrew Tridgell1-0/+28
(This used to be commit b0510b5428b3461aeb9bbe3cc95f62fc73e2b97f)