windows-build-updates-20030314
[openafs.git] / src / WINNT / afssvrmgr / propcache.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 PROPCACHE_H
11 #define PROPCACHE_H
12
13
14 /*
15  * PROPERTIES-DIALOG CACHE ____________________________________________________
16  *
17  */
18
19 typedef enum
20    {
21    pcSERVER,    // Server window (Open mode only)
22    pcSVR_PROP,  // Server's Properties dialog
23    pcSVR_LISTS, // Server's Admin Lists dialog
24    pcSVR_CREATE,        // Server's Create dialog
25    pcSVR_SYNCVLDB,      // Syncronize VLDB dialog
26    pcSVR_INSTALL,       // Install File dialog
27    pcSVR_UNINSTALL,     // Uninstall File dialog
28    pcSVR_PRUNE, // Prune Old Files dialog
29    pcSVR_GETDATES,      // Get File Dates (non-results) dialog
30    pcSVR_EXECUTE,       // Execute Command dialog
31    pcSVR_SECURITY,      // Server's Security dialog
32    pcSVR_SALVAGE,       // Salvage dialog
33    pcSVR_HOSTS, // Server's Hosts dialog
34    pcSVC_PROP,  // Service's Properties dialog
35    pcSVC_CREATE,        // Service's CreateService dialog
36    pcAGG_PROP,  // Aggregate's Properties dialog
37    pcSET_REP,   // Fileset's Replication information
38    pcSET_PROP,  // Fileset's Properties dialog
39    pcSET_RELEASE,       // Release Fileset dialog
40    pcSET_CLONE, // Clone Fileset dialog
41    pcSET_CLONESYS_R,    // Clone Filesets Results dialog
42    pcSET_DELETE,        // Delete Fileset dialog
43    pcERROR,     // Error dialog
44    pcGENERAL,   // Any other dialog
45    } PropCache;
46
47 #define ANYVALUE (PVOID)-1
48
49 void PropCache_Add    (PropCache pcType, PVOID pv, HWND hDialog);
50 HWND PropCache_Search (PropCache pcType, PVOID pv, HWND hwndSearch = (HWND)NULL);
51 void PropCache_Delete (PropCache pcType, PVOID pv);
52 void PropCache_Delete (HWND hDialog);
53
54
55 #endif
56