s4:dsdb:tests: Also pass tests if asserted identity is present
[Samba.git] / source3 / smbd / smb1_aio.h
blobd13bbb9081c8bf56e30f63932a6976e0efd65bdf
1 /*
2 Unix SMB/Netbios implementation.
3 Version 3.0
4 async_io read handling using POSIX async io.
5 Copyright (C) Jeremy Allison 2005.
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 3 of the License, or
10 (at your option) any later version.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program. If not, see <http://www.gnu.org/licenses/>.
21 NTSTATUS schedule_aio_read_and_X(connection_struct *conn,
22 struct smb_request *req,
23 files_struct *fsp, off_t startpos,
24 size_t smb_maxcnt);
25 NTSTATUS schedule_aio_write_and_X(connection_struct *conn,
26 struct smb_request *req,
27 files_struct *fsp, const char *data,
28 off_t startpos,
29 size_t numtowrite);