s3-winbind: Added a common rpc_enum_dom_groups function.
[Samba/gebeck_regimport.git] / source3 / winbindd / winbindd_rpc.h
blobd327e16dad3f65db5236cd68f20d43dda28e2fe3
1 /*
2 * Unix SMB/CIFS implementation.
4 * Winbind rpc backend functions
6 * Copyright (c) 2000-2003 Tim Potter
7 * Copyright (c) 2001 Andrew Tridgell
8 * Copyright (c) 2005 Volker Lendecke
9 * Copyright (c) 2008 Guenther Deschner (pidl conversion)
10 * Copyright (c) 2010 Andreas Schneider <asn@samba.org>
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 3 of the License, or
15 * (at your option) any later version.
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
22 * You should have received a copy of the GNU General Public License
23 * along with this program. If not, see <http://www.gnu.org/licenses/>.
26 #ifndef _WINBINDD_RPC_H_
27 #define _WINBINDD_RPC_H_
29 NTSTATUS rpc_enum_dom_groups(TALLOC_CTX *mem_ctx,
30 struct rpc_pipe_client *samr_pipe,
31 struct policy_handle *sam_policy,
32 uint32_t *pnum_info,
33 struct acct_info **pinfo);
35 #endif /* _WINBINDD_RPC_H_ */