s3: Optimize g_lock_lock for a heavily contended case
[Samba.git] / source4 / rpc_server / common / common.h
blob17c2a7db023e0060b227ecd01ad5a321c3562c22
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_context;
28 struct dcesrv_context;
30 struct dcerpc_server_info {
31 const char *domain_name;
32 uint32_t version_major;
33 uint32_t version_minor;
34 uint32_t version_build;
37 struct ndr_interface_table;
38 struct dcesrv_call_state;
39 #include "rpc_server/common/proto.h"
41 #endif /* _DCERPC_SERVER_COMMON_H_ */