win32-name-event-objects-20040228
[openafs.git] / src / WINNT / afssvrmgr / svr_col.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 SVR_COL_H
11 #define SVR_COL_H
12
13
14 /*
15  * SERVER-VIEW COLUMNS ________________________________________________________
16  *
17  */
18
19 typedef enum
20    {
21    svrcolNAME,
22    svrcolADDRESS,
23    svrcolSTATUS,
24    } SERVERCOLUMN;
25
26 static struct
27    {
28    int idsColumn;
29    int cxWidth;
30    }
31 SERVERCOLUMNS[] =
32    {
33       { IDS_SVRCOL_NAME,       150 }, // svrcolNAME
34       { IDS_SVRCOL_ADDRESS,    100 }, // svrcolADDRESS
35       { IDS_SVRCOL_STATUS,     400 }, // svrcolSTATUS
36    };
37
38 #define nSERVERCOLUMNS  (sizeof(SERVERCOLUMNS)/sizeof(SERVERCOLUMNS[0]))
39
40
41 /*
42  * PROTOTYPES _________________________________________________________________
43  *
44  */
45
46 void Server_SetDefaultView_Horz (LPVIEWINFO lpviHorz);
47 void Server_SetDefaultView_Vert (LPVIEWINFO lpviVert);
48
49 size_t Server_GetAlertCount (LPSERVER lpServer);
50 LPTSTR Server_GetColumnText (LPIDENT lpi, SERVERCOLUMN col);
51
52
53 #endif
54