Update NEWS for 1.6.22
[pkg-k5-afs_openafs.git] / src / WINNT / afssvrmgr / svc_col.h
blob102988fd29b434a1c95a9510f1ec26fc2b383a95
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 SVC_COL_H
11 #define SVC_COL_H
15 * SERVICE-VIEW COLUMNS _______________________________________________________
19 typedef enum
21 svccolNAME,
22 svccolTYPE,
23 svccolPARAMS,
24 svccolNOTIFIER,
25 svccolSTATUS,
26 svccolDATE_START,
27 svccolDATE_STOP,
28 svccolDATE_STARTSTOP,
29 svccolDATE_FAILED,
30 svccolLASTERROR,
31 } SERVICECOLUMN;
33 static struct
35 int idsColumn;
36 int cxWidth;
38 SERVICECOLUMNS[] =
40 { IDS_SVCCOL_NAME, 100 }, // svccolNAME
41 { IDS_SVCCOL_TYPE, 100 }, // svccolTYPE
42 { IDS_SVCCOL_PARAMS, 100 }, // svccolPARAMS
43 { IDS_SVCCOL_NOTIFIER, 100 }, // svccolNOTIFIER
44 { IDS_SVCCOL_STATUS, 100 }, // svccolSTATUS
45 { IDS_SVCCOL_DATE_START, 100 }, // svccolDATE_START
46 { IDS_SVCCOL_DATE_STOP, 100 }, // svccolDATE_STOP
47 { IDS_SVCCOL_DATE_STARTSTOP, 100 }, // svccolDATE_STARTSTOP
48 { IDS_SVCCOL_DATE_FAILED, 100 }, // svccolDATE_FAILED
49 { IDS_SVCCOL_LASTERROR, 100 }, // svccolLASTERROR
52 #define nSERVICECOLUMNS (sizeof(SERVICECOLUMNS)/sizeof(SERVICECOLUMNS[0]))
56 * PROTOTYPES _________________________________________________________________
60 void Services_SetDefaultView (LPVIEWINFO lpvi);
62 size_t Services_GetAlertCount (LPSERVICE lpService);
63 LPTSTR Services_GetColumnText (LPIDENT lpi, SERVICECOLUMN svccol, BOOL fShowServerName = FALSE);
66 #endif