pathvms.h #1

  • //
  • guest/
  • perforce_software/
  • p4/
  • 2014-2/
  • sys/
  • pathvms.h
  • View
  • Commits
  • Open Download .zip Download (807 B)
/*
 * Copyright 1995, 1996 Perforce Software.  All rights reserved.
 *
 * This file is part of Perforce - the FAST SCM System.
 */

/*
 * Pathvms.h - filenames on VMS
 *
 * Public classes:
 *
 *	PathVMS - a StrPtr for a VMS path
 *
 * Public methods:
 */

class PathVMS : public PathSys {

    private:
	void	GetPointers();
	void	AddDirectory( const char *dir, int len );
	int	ToParentHavePointers();
	void 	ToRoot();

	int	lbrace;		// offset of [, -1 if none
	int	rbrace;		// offset of ], -1 if none
	int	atroot;		// it's foo: or foo:[000000]

    public:
	void	SetCanon( const StrPtr &root, const StrPtr &canon );
	void	SetLocal( const StrPtr &root, const StrPtr &local );
	int	GetCanon( const StrPtr &root, StrBuf &target );
	int	ToParent( StrBuf *file = 0 );
	int	IsUnderRoot( const StrPtr &root );
} ;
# Change User Description Committed
#1 15903 Matt Attaway Everything should be happy now between the Workshop and the depot paths
//guest/perforce_software/p4/2014_2/sys/pathvms.h
#1 15901 Matt Attaway Clean up code to fit modern Workshop naming standards
//guest/perforce_software/p4/2014.2/sys/pathvms.h
#1 12189 Matt Attaway Initial (and much belated) drop of 2014.2 p4 source code