s3: smbd: Fix log spam. Change a normal error message from DBG_ERR (level 0) to DBG_I...
[Samba.git] / source3 / smbd / smb1_reply.h
blob5a12f0b3592d5559044d5936f93a927d4275642b
1 /*
2 Unix SMB/CIFS implementation.
3 Main SMB reply routines
4 Copyright (C) Andrew Tridgell 1992-1998
5 Copyright (C) Andrew Bartlett 2001
6 Copyright (C) Jeremy Allison 1992-2007.
7 Copyright (C) Volker Lendecke 2007
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 3 of the License, or
12 (at your option) any later version.
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with this program. If not, see <http://www.gnu.org/licenses/>.
23 void reply_tcon(struct smb_request *req);
24 void reply_tcon_and_X(struct smb_request *req);
25 void reply_unknown_new(struct smb_request *req, uint8_t type);
26 void reply_ioctl(struct smb_request *req);
27 void reply_checkpath(struct smb_request *req);
28 void reply_getatr(struct smb_request *req);
29 void reply_setatr(struct smb_request *req);
30 void reply_dskattr(struct smb_request *req);
31 void reply_search(struct smb_request *req);
32 void reply_fclose(struct smb_request *req);
33 void reply_open(struct smb_request *req);
34 void reply_open_and_X(struct smb_request *req);
35 void reply_ulogoffX(struct smb_request *req);
36 void reply_mknew(struct smb_request *req);
37 void reply_ctemp(struct smb_request *req);
38 void reply_unlink(struct smb_request *req);
39 void reply_readbraw(struct smb_request *req);
40 void reply_lockread(struct smb_request *req);
41 size_t setup_readX_header(char *outbuf, size_t smb_maxcnt);
42 void reply_read(struct smb_request *req);
43 void reply_read_and_X(struct smb_request *req);
44 void error_to_writebrawerr(struct smb_request *req);
45 void reply_writebraw(struct smb_request *req);
46 void reply_writeunlock(struct smb_request *req);
47 void reply_write(struct smb_request *req);
48 bool is_valid_writeX_buffer(struct smbXsrv_connection *xconn,
49 const uint8_t *inbuf);
50 void reply_write_and_X(struct smb_request *req);
51 void reply_lseek(struct smb_request *req);
52 void reply_flush(struct smb_request *req);
53 void reply_exit(struct smb_request *req);
54 void reply_close(struct smb_request *req);
55 void reply_writeclose(struct smb_request *req);
56 void reply_lock(struct smb_request *req);
57 void reply_unlock(struct smb_request *req);
58 void reply_tdis(struct smb_request *req);
59 void reply_echo(struct smb_request *req);
60 void reply_printopen(struct smb_request *req);
61 void reply_printclose(struct smb_request *req);
62 void reply_printqueue(struct smb_request *req);
63 void reply_printwrite(struct smb_request *req);
64 void reply_mkdir(struct smb_request *req);
65 void reply_rmdir(struct smb_request *req);
66 void reply_mv(struct smb_request *req);
67 void reply_copy(struct smb_request *req);
68 uint64_t get_lock_pid(const uint8_t *data, int data_offset,
69 bool large_file_format);
70 uint64_t get_lock_count(const uint8_t *data, int data_offset,
71 bool large_file_format);
72 void reply_lockingX(struct smb_request *req);
73 void reply_readbmpx(struct smb_request *req);
74 void reply_readbs(struct smb_request *req);
75 void reply_setattrE(struct smb_request *req);
76 void reply_writebmpx(struct smb_request *req);
77 void reply_writebs(struct smb_request *req);
78 void reply_getattrE(struct smb_request *req);
79 void reply_findclose(struct smb_request *req);
80 void reply_findnclose(struct smb_request *req);