death to trailing whitespace
[openafs.git] / src / WINNT / afsusrmgr / grp_prop.h
1 /*
2  * Copyright 2000, International Business Machines Corporation and others.
3  * All Rights Reserved.
4  *
5  * This software has been released under the terms of the IBM Public
6  * License.  For details, see the LICENSE file in the top-level source
7  * directory or online at http://www.openafs.org/dl/license10.html
8  */
9
10 #ifndef GRP_PROP_H
11 #define GRP_PROP_H
12
13
14 /*
15  * DEFINITIONS ________________________________________________________________
16  *
17  */
18
19 typedef enum
20    {
21    gptANY = -1,
22    gptPROBLEMS,
23    gptGENERAL,
24    gptMEMBERS
25    } GROUPPROPTAB;
26
27 #define nGROUPPROPTAB_MAX  3
28
29
30 typedef struct
31    {
32    LPASIDLIST pGroupList;       // NULL if creating new group
33    BOOL fDeleteMeOnClose;       // TRUE to delete structure when done
34    BOOL fShowModal;     // TRUE to block while showing
35    HWND hParent;
36
37    BOOL fApplyGeneral;  // TRUE to apply these fields:
38    ACCOUNTACCESS aaStatus;
39    BOOL fStatus_Mixed;
40    ACCOUNTACCESS aaGroups;
41    BOOL fGroups_Mixed;
42    ACCOUNTACCESS aaMembers;
43    BOOL fMembers_Mixed;
44    ACCOUNTACCESS aaAdd;
45    BOOL fAdd_Mixed;
46    ACCOUNTACCESS aaRemove;
47    BOOL fRemove_Mixed;
48    TCHAR szOwner[ cchNAME ];
49    BOOL fOwner_Mixed;
50    TCHAR szCreator[ cchNAME ];
51    BOOL fCreator_Mixed;
52
53    LPASIDLIST pMembers;
54    LPASIDLIST pGroupsOwner;
55    } GROUPPROPINFO, *LPGROUPPROPINFO;
56
57
58 /*
59  * PROTOTYPES _________________________________________________________________
60  *
61  */
62
63 void Group_ShowProperties (LPASIDLIST pAsidList, GROUPPROPTAB gptTarget = gptANY);
64 void Group_ShowProperties (LPGROUPPROPINFO lpp, GROUPPROPTAB gptTarget = gptANY);
65 void Group_FreeProperties (LPGROUPPROPINFO lpp);
66
67
68 #endif
69