Code Search for Developers
 
 
  

database.cc from GreenSocs at Krugle


Show database.cc syntax highlighted

// -*- mode: cpp; mode: fold -*-
// Description								/*{{{*/
// $Id: database.cc,v 1.2 2001/02/20 07:03:16 jgg Exp $
/* ######################################################################

   Data Base Abstraction
   
   ##################################################################### */
									/*}}}*/
// Include Files							/*{{{*/
#ifdef __GNUG__
#pragma implementation "apt-pkg/database.h"
#endif

#include <apt-pkg/database.h>
									/*}}}*/

// DataBase::GetMetaTmp - Get the temp dir				/*{{{*/
// ---------------------------------------------------------------------
/* This re-initializes the meta temporary directory if it hasn't yet 
   been inited for this cycle. The flag is the emptyness of MetaDir */
bool pkgDataBase::GetMetaTmp(string &Dir)
{
   if (MetaDir.empty() == true)
      if (InitMetaTmp(MetaDir) == false)
	 return false;
   Dir = MetaDir;
   return true;
}
									/*}}}*/




See more files for this project here

GreenSocs

To develop SystemC infrustructure, basic IP, patches and add on library code for eventual standerdization.\r\nThe GreenSocs project is made up of a number of contributions (sub projects). Please visit www.greensocs.com for more information.

Project homepage: http://sourceforge.net/projects/greensocs
Programming language(s): C,C++,Java,Perl,XML
License: other

  contrib/
    arfile.cc
    arfile.h
    extracttar.cc
    extracttar.h
  deb/
    debfile.cc
    debfile.h
    dpkgdb.cc
    dpkgdb.h
  database.cc
  database.h
  dirstream.cc
  dirstream.h
  dpkg-diffs.txt
  extract.cc
  extract.h
  filelist.cc
  filelist.h
  makefile