s3/torture: use stack buffer for rbtree loop
[Samba.git] / source3 / smbd / smb1_utils.h
blob71f0c6d3ee69fe5fc42021d5b236b1c949c68b0b
1 /*
2 * Unix SMB/CIFS implementation.
3 * Util functions valid in the SMB1 server
5 * Copyright (C) Volker Lendecke 2019
6 * Copyright by the authors of the functions moved here eventually
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 3 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program. If not, see <http://www.gnu.org/licenses/>.
22 #ifndef __SMBD_SMB1_UTILS_H__
23 #define __SMBD_SMB1_UTILS_H__
25 #include "includes.h"
26 #include "vfs.h"
27 #include "proto.h"
29 struct files_struct *fcb_or_dos_open(
30 struct smb_request *req,
31 const struct smb_filename *smb_fname,
32 uint32_t access_mask,
33 uint32_t create_options,
34 uint32_t private_flags);
36 #endif