s3-selftest: Remove some unnecessary comma
[Samba/gebeck_regimport.git] / source4 / libnet / libnet_group.h
blob8ac47437fd275d1e2d941b78bd26968fa27ea152
1 /*
2 Unix SMB/CIFS implementation.
4 Copyright (C) Rafal Szczesniak 2007
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.
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.
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.
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;
32 enum libnet_GroupInfo_level {
33 GROUP_INFO_BY_NAME=0,
34 GROUP_INFO_BY_SID
37 struct libnet_GroupInfo {
38 struct {
39 const char *domain_name;
40 enum libnet_GroupInfo_level level;
41 union {
42 const char *group_name;
43 const struct dom_sid *group_sid;
44 } data;
45 } in;
46 struct {
47 const char *group_name;
48 struct dom_sid *group_sid;
49 uint32_t num_members;
50 const char *description;
52 const char *error_string;
53 } out;
57 struct libnet_GroupList {
58 struct {
59 const char *domain_name;
60 int page_size;
61 uint32_t resume_index;
62 } in;
63 struct {
64 int count;
65 uint32_t resume_index;
67 struct grouplist {
68 const char *sid;
69 const char *groupname;
70 } *groups;
72 const char *error_string;
73 } out;