Update NEWS for 1.6.22
[pkg-k5-afs_openafs.git] / src / WINNT / afssvrmgr / agg_col.h
blobe392e1dc7461c0a6308a57c5110815261fd1d707
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 AGGREGS_H
11 #define AGGREGS_H
15 * AGGREGATE-VIEW COLUMNS _____________________________________________________
19 typedef enum
21 aggcolNAME,
22 aggcolID,
23 aggcolDEVICE,
24 aggcolUSED,
25 aggcolUSED_PER,
26 aggcolALLOCATED,
27 aggcolFREE,
28 aggcolTOTAL,
29 aggcolSTATUS
30 } AGGREGATECOLUMN;
32 static struct
34 int idsColumn;
35 int cxWidth;
37 AGGREGATECOLUMNS[] =
39 { IDS_AGGCOL_NAME, 100 }, // aggcolNAME
40 { IDS_AGGCOL_ID, 100 | COLUMN_RIGHTJUST }, // aggcolID
41 { IDS_AGGCOL_DEVICE, 100 }, // aggcolDEVICE
42 { IDS_AGGCOL_USED, 100 | COLUMN_RIGHTJUST }, // aggcolUSED
43 { IDS_AGGCOL_USED_PER, 100 | COLUMN_RIGHTJUST }, // aggcolUSED_PER
44 { IDS_AGGCOL_ALLOCATED,100 | COLUMN_RIGHTJUST }, // aggcolALLOCATED
45 { IDS_AGGCOL_FREE, 100 | COLUMN_RIGHTJUST }, // aggcolFREE
46 { IDS_AGGCOL_TOTAL, 100 | COLUMN_RIGHTJUST }, // aggcolTOTAL
47 { IDS_AGGCOL_STATUS, 300 }, // aggcolSTATUS
50 #define nAGGREGATECOLUMNS (sizeof(AGGREGATECOLUMNS)/sizeof(AGGREGATECOLUMNS[0]))
54 * PROTOTYPES _________________________________________________________________
58 void Aggregates_SetDefaultView (LPVIEWINFO lpvi);
60 size_t Aggregates_GetAlertCount (LPAGGREGATE lpAggregate);
61 LPTSTR Aggregates_GetColumnText (LPIDENT lpi, AGGREGATECOLUMN aggcol, BOOL fShowServerName = FALSE);
64 #endif