Update NEWS for 1.6.22
[pkg-k5-afs_openafs.git] / src / WINNT / afssvrcfg / validation.h
blobc0759814108561e4b5599a61767ef412fd99a0cf
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 _VALIDATION_H_
11 #define _VALIDATION_H_
14 enum VALIDATION_TYPE {
15 VALID_AFS_PARTITION_NAME,
16 VALID_AFS_CELL_NAME,
17 VALID_AFS_PASSWORD,
18 VALID_AFS_UID,
19 VALID_AFS_SERVER_NAME,
20 VALID_FILENAME,
21 VALID_PATH
25 BOOL Validation_IsValid(TCHAR *pszInput, VALIDATION_TYPE type, BOOL bShowErorr = TRUE);
27 #endif // _VALIDATION_H_