]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/init.h
cachefile.cc: Do not ignore return value of pkgDepCache::Init()
[apt.git] / apt-pkg / init.h
index bd03dd10d8b184917cdc871820f06ff349b21645..d062392e3e199501e65180f9028dc9add7983e3b 100644 (file)
@@ -1,6 +1,5 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: init.h,v 1.1 1998/07/09 05:12:27 jgg Exp $
 /* ######################################################################
 
    Init - Initialize the package library
    
    ##################################################################### */
                                                                        /*}}}*/
-// Header section: pkglib
 #ifndef PKGLIB_INIT_H
 #define PKGLIB_INIT_H
 
-#include <pkglib/configuration.h>
+#ifndef APT_8_CLEANER_HEADERS
+#include <apt-pkg/configuration.h>
+#include <apt-pkg/pkgsystem.h>
+#endif
+#ifndef APT_10_CLEANER_HEADERS
+#include <apt-pkg/macros.h>
+#endif
+
+class pkgSystem;
+class Configuration;
+
+extern const char *pkgVersion;
+extern const char *pkgLibVersion;
 
-bool pkglibInitialize(Configuration &Cnf);
+bool pkgInitConfig(Configuration &Cnf);
+bool pkgInitSystem(Configuration &Cnf,pkgSystem *&Sys);
 
 #endif