/*
* Copyright 2000, International Business Machines Corporation and others.
* All Rights Reserved.
- *
+ *
* This software has been released under the terms of the IBM Public
* License. For details, see the LICENSE file in the top-level source
* directory or online at http://www.openafs.org/dl/license10.html
}
int GetNumPartitions()
-{
+{
return cPartitions;
-}
+}
int ReadPartitionTable(afs_status_t *pStatus)
{
cPartitions = 0;
pTable = 0;
-
+
int nResult = cfg_HostPartitionTableEnumerate(g_hServer, &pTable, &cPartitions, pStatus);
return nResult;
if (ch1 == ch2)
return TRUE;
- }
+ }
return FALSE;
}
for (int ii = 0; ii < cPartitions; ii++) {
if (lstrcmp(A2S(pTable[ii].partitionName), pszName) == 0)
return TRUE;
- }
-
+ }
+
return FALSE;
}
-
+
void FreePartitionTable()
{
if (pTable) {
pTable = 0;
cPartitions = 0;
-}
+}