Update NEWS for 1.6.22
[pkg-k5-afs_openafs.git] / src / WINNT / afssvrmgr / subset.h
blob9f036e0ba9b7ad7e81eac718ebe9ae732b7f6064
1 /*
2 * Copyright 2000, International Business Machines Corporation and others.
3 * All Rights Reserved.
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 */
10 #ifndef SUBSET_H
11 #define SUBSET_H
15 * VARIABLES __________________________________________________________________
19 typedef struct
21 TCHAR szSubset[ cchNAME ]; // subset name ("" if unspecified)
22 BOOL fModified; // TRUE if subset contents changed
23 LPTSTR pszMonitored; // allocated multistring of servers
24 LPTSTR pszUnmonitored; // allocated multistring of servers
25 } SUBSET, *LPSUBSET;
29 * PROTOTYPES _________________________________________________________________
33 BOOL Subsets_fMonitorServer (LPSUBSET sub, LPIDENT lpiServer);
34 LPSUBSET Subsets_SetMonitor (LPSUBSET sub, LPIDENT lpiServer, BOOL fMonitor);
36 void ShowSubsetsDialog (void);
38 BOOL Subsets_SaveIfDirty (LPSUBSET sub);
40 BOOL Subsets_EnumSubsets (LPTSTR pszCell, size_t iIndex, LPTSTR pszSubset);
41 LPSUBSET Subsets_LoadSubset (LPTSTR pszCell, LPTSTR pszSubset);
42 BOOL Subsets_SaveSubset (LPTSTR pszCell, LPTSTR pszSubset, LPSUBSET sub);
43 LPSUBSET Subsets_CopySubset (LPSUBSET sub, BOOL fMakeIfNULL = FALSE);
44 void Subsets_FreeSubset (LPSUBSET sub);
47 #endif