s4 libnet: Add group_name member to struct libnet_GroupInfo's out struct.
[ira/wip.git] / source4 / libnet / libnet_group.h
1 /* 
2    Unix SMB/CIFS implementation.
3
4    Copyright (C) Rafal Szczesniak  2007
5    
6    This program is free software; you can redistribute it and/or modify
7    it under the terms of the GNU General Public License as published by
8    the Free Software Foundation; either version 3 of the License, or
9    (at your option) any later version.
10    
11    This program is distributed in the hope that it will be useful,
12    but WITHOUT ANY WARRANTY; without even the implied warranty of
13    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14    GNU General Public License for more details.
15    
16    You should have received a copy of the GNU General Public License
17    along with this program; if not, write to the Free Software
18    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19 */
20
21
22 struct libnet_CreateGroup {
23         struct {
24                 const char *group_name;
25                 const char *domain_name;
26         } in;
27         struct {
28                 const char *error_string;
29         } out;
30 };
31
32
33 struct libnet_GroupInfo {
34         struct {
35                 const char *group_name;
36                 const char *domain_name;
37         } in;
38         struct {
39                 const char *group_name;
40                 struct dom_sid *group_sid;
41                 uint32_t num_members;
42                 const char *description;
43
44                 const char *error_string;
45         } out;
46 };
47
48
49 struct libnet_GroupList {
50         struct {
51                 const char *domain_name;
52                 int page_size;
53                 uint resume_index;
54         } in;
55         struct {
56                 int count;
57                 uint resume_index;
58                 
59                 struct grouplist {
60                         const char *sid;
61                         const char *groupname;
62                 } *groups;
63
64                 const char *error_string;
65         } out;
66 };