/* * Copyright 1995, 1996 Perforce Software. All rights reserved. * * This file is part of the Library RCS. See rcstest.c. */ /* * rcsco.h - combine revisions to produce an output file * * Classes defined: * * RcsCkout - control block for a checkout * * Public methods: * * RcsCkout::RcsCkOut() - set up for checkout * RcsCkout::~RcsCkout() - finish and dispose of an RcsCkout * RcsCkout::Ckout() - build up the piece table for given rev * RcsCkout::Read() - read text from a revision recreated by Ckout() * * Private methods: * * RcsCkout::ApplyExit() - apply a revision's worth of diffs * * History: * 2-18-97 (seiwald) - translated to C++. */ /* * RcsCkout - control block for checkout * * RcsCkout houses the info necessary to orchestrate a checkout. It * is the handle that is returned by RcsCkoutInit, which the caller then * passes to each invocation of RcsCkoutRead. */ struct RcsPiece; struct RcsEdit; struct RcsCkout { public: RcsCkout( RcsArchive *archive ); ~RcsCkout(); void Ckout( const char *revName, Error *e ); int Read( char *buf, int len ); private: void ApplyEdit( RcsRev *rev, Error *e ); public: RcsArchive *archive; RcsPiece *pieces; /* we can can scan them */ RcsEdit *edits; /* so we can free them */ /* used by RcsCkoutRead */ RcsPiece *readPiece; /* scans pieces during read */ RcsLine readPieceCount; /* offset into readPiece */ int halfAt; /* read suspended between @@ */ } ;
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 18760 | rlranft |
Populate -o //guest/perforce_software/p4/... //guest/rlranft/p4/.... |
||
//guest/perforce_software/p4/2014-1/rcs/rcsco.h | |||||
#1 | 15902 | Matt Attaway | A second renaming that I will not obliterate as a badge of shame | ||
//guest/perforce_software/p4/2014_1/rcs/rcsco.h | |||||
#1 | 15901 | Matt Attaway | Clean up code to fit modern Workshop naming standards | ||
//guest/perforce_software/p4/2014.1/rcs/rcsco.h | |||||
#1 | 12188 | Matt Attaway | Move 'main' p4 into a release specific directory in prep for new releases | ||
//guest/perforce_software/p4/rcs/rcsco.h | |||||
#1 | 9129 | Matt Attaway | Initial commit of the 2014.1 p4/p4api source code |