Update NEWS for 1.6.22
[pkg-k5-afs_openafs.git] / src / WINNT / client_exp / submount_info.cpp
blob2de5f0713bf5079b5df8aa04d3b14828c140c68a
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 #include "stdafx.h"
11 #include <winsock2.h>
12 #include <ws2tcpip.h>
14 extern "C" {
15 #include <afs/param.h>
16 #include <afs/stds.h>
19 #include "submount_info.h"
22 CSubmountInfo::CSubmountInfo()
24 m_Status = SIS_NULL;
27 CSubmountInfo::CSubmountInfo(const CString& strShareName, const CString& strPathName, SUBMT_INFO_STATUS status)
29 m_Status = status;
31 SetShareName(strShareName);
32 SetPathName(strPathName);
35 CSubmountInfo::CSubmountInfo(const CSubmountInfo& info)
37 SetStatus(info.GetStatus());
38 SetShareName(info.GetShareName());
39 SetPathName(info.GetPathName());
42 CSubmountInfo::~CSubmountInfo()