vfs_ceph: use consistent code style when setting errno
[Samba.git] / source4 / rpc_server / common / common.h
blobb57ddf20db57bfae7dead3f2cb0caafd36f4cdc4
1 /*
2 Unix SMB/CIFS implementation.
4 common macros for the dcerpc server interfaces
6 Copyright (C) Stefan (metze) Metzmacher 2004
7 Copyright (C) Andrew Tridgell 2004
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 #ifndef _DCERPC_SERVER_COMMON_H_
24 #define _DCERPC_SERVER_COMMON_H_
26 struct share_config;
27 struct dcesrv_connection;
28 struct dcesrv_context;
29 struct dcesrv_context;
30 struct dcesrv_call_state;
31 struct ndr_interface_table;
32 struct ncacn_packet;
33 struct auth_session_info;
35 struct dcerpc_server_info {
36 const char *domain_name;
37 uint32_t version_major;
38 uint32_t version_minor;
39 uint32_t version_build;
42 #include "rpc_server/common/proto.h"
44 #endif /* _DCERPC_SERVER_COMMON_H_ */