Update NEWS for 1.6.22
[pkg-k5-afs_openafs.git] / src / WINNT / afssvrmgr / set_col.h
bloba5c6a9a4aa0948d5d4812cab68e9538322fad597
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 SET_COL_H
11 #define SET_COL_H
15 * FILESET-VIEW COLUMNS _______________________________________________________
19 typedef enum
21 setcolNAME,
22 setcolTYPE,
23 setcolDATE_CREATE,
24 setcolDATE_UPDATE,
25 setcolDATE_ACCESS,
26 setcolDATE_BACKUP,
27 setcolQUOTA_USED,
28 setcolQUOTA_USED_PER,
29 setcolQUOTA_FREE,
30 setcolQUOTA_TOTAL,
31 setcolSTATUS,
32 setcolAGGREGATE,
33 setcolID,
34 setcolFILES,
35 } FILESETCOLUMN;
37 static struct
39 int idsColumn;
40 int cxWidth;
42 FILESETCOLUMNS[] =
44 { IDS_SETCOL_NAME, 220 }, // setcolNAME
45 { IDS_SETCOL_TYPE, 100 }, // setcolTYPE
46 { IDS_SETCOL_DATE_CREATE, 100 }, // setcolDATE_CREATE
47 { IDS_SETCOL_DATE_UPDATE, 100 }, // setcolDATE_UPDATE
48 { IDS_SETCOL_DATE_ACCESS, 100 }, // setcolDATE_ACCESS
49 { IDS_SETCOL_DATE_BACKUP, 100 }, // setcolDATE_BACKUP
50 { IDS_SETCOL_QUOTA_USED, 100 | COLUMN_RIGHTJUST }, // setcolQUOTA_USED
51 { IDS_SETCOL_QUOTA_USED_PER, 100 | COLUMN_RIGHTJUST }, // setcolQUOTA_USED_PER
52 { IDS_SETCOL_QUOTA_FREE, 100 | COLUMN_RIGHTJUST }, // setcolQUOTA_FREE
53 { IDS_SETCOL_QUOTA_TOTAL, 100 | COLUMN_RIGHTJUST }, // setcolQUOTA_TOTAL
54 { IDS_SETCOL_STATUS, 300 }, // setcolSTATUS
55 { IDS_SETCOL_AGGREGATE, 100 }, // setcolAGGREGATE
56 { IDS_SETCOL_ID, 100 }, // setcolID
57 { IDS_SETCOL_FILES, 100 | COLUMN_RIGHTJUST }, // setcolFILES
60 #define nFILESETCOLUMNS (sizeof(FILESETCOLUMNS)/sizeof(FILESETCOLUMNS[0]))
64 * REPLICA-VIEW COLUMNS _______________________________________________________
68 typedef enum
70 repcolSERVER,
71 repcolAGGREGATE,
72 repcolDATE_UPDATE,
73 } REPLICACOLUMN;
75 static struct
77 int idsColumn;
78 int cxWidth;
80 REPLICACOLUMNS[] =
82 { IDS_REPCOL_SERVER, 100 }, // repcolSERVER
83 { IDS_REPCOL_AGGREGATE, 100 }, // repcolAGGREGATE
84 { IDS_REPCOL_DATE_UPDATE, 100 }, // repcolDATE_UPDATE
87 #define nREPLICACOLUMNS (sizeof(REPLICACOLUMNS)/sizeof(REPLICACOLUMNS[0]))
91 * PROTOTYPES _________________________________________________________________
95 void Filesets_SetDefaultView (LPVIEWINFO lpvi);
97 size_t Filesets_GetAlertCount (LPFILESET lpFileset);
98 LPTSTR Filesets_GetColumnText (LPIDENT lpi, FILESETCOLUMN setcol, BOOL fShowServerName = FALSE);
101 void Replicas_SetDefaultView (LPVIEWINFO lpvi);
103 LPTSTR Replicas_GetColumnText (LPIDENT lpi, REPLICACOLUMN repcol);
106 #endif