Initial import of the CDE 2.1.30 sources from the Open Group.

This commit is contained in:
Peter Howkins
2012-03-10 18:21:40 +00:00
commit 83b6996daa
18978 changed files with 3945623 additions and 0 deletions

View File

@@ -0,0 +1,61 @@
//%% (c) Copyright 1993, 1994 Hewlett-Packard Company
//%% (c) Copyright 1993, 1994 International Business Machines Corp.
//%% (c) Copyright 1993, 1994 Sun Microsystems, Inc.
//%% (c) Copyright 1993, 1994 Novell, Inc.
//%% $XConsortium: tttar_file.C /main/3 1995/10/20 17:00:10 rswiston $
/*
* tttar_file.cc - Implements hash table of files for the Link Service archive
* tool.
*
* Copyright (c) 1990 by Sun Microsystems, Inc.
*
*/
#include "tttar_file.h"
implement_list_of(tttar_file)
implement_table_of(tttar_file,path,_Tt_string)
/*
* tttar_file::tttar_file
*/
tttar_file::
tttar_file()
{
_path = (char *)NULL;
}
/*
* tttar_file::tttar_file()
*/
tttar_file::
tttar_file( _Tt_string path )
{
_path = path;
}
/*
* tttar_file::~tttar_file()
*/
tttar_file::
~tttar_file()
{
}
/*
* tttar_file::path()
*/
_Tt_string tttar_file::
path()
{
return(_path);
}
/*
* tttar_file::print()
*/
void tttar_file::
print( FILE *fs ) const
{
this->_path->print(fs);
}