dpkg.h

00001 /*
00002  * dpkg.h
00003  *
00004  * Copyright (C) 2003 Bastian Blank <waldi@debian.org>
00005  *
00006  * This program is free software; you can redistribute it and/or modify
00007  * it under the terms of the GNU General Public License as published by
00008  * the Free Software Foundation; either version 2 of the License, or
00009  * (at your option) any later version.
00010  *
00011  * This program is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  * GNU General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU General Public License
00017  * along with this program; if not, write to the Free Software
00018  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
00019  *
00020  * $Id: dpkg.h 29603 2005-07-31 16:10:46Z cjwatson $
00021  */
00022 
00023 #ifndef DEBIAN_INSTALLER__SYSTEM__DPKG_H
00024 #define DEBIAN_INSTALLER__SYSTEM__DPKG_H
00025 
00026 #include <debian-installer/packages.h>
00027 
00028 #include <stdbool.h>
00029 
00035 #define DI_SYSTEM_DPKG_ADMINDIR "/var/lib/dpkg/"
00036 #define DI_SYSTEM_DPKG_INFODIR DI_SYSTEM_DPKG_ADMINDIR "info/"
00037 #define DI_SYSTEM_DPKG_STATUSFILE DI_SYSTEM_DPKG_ADMINDIR "status"
00038 #define DI_SYSTEM_DPKG_TMPCONTROLDIR DI_SYSTEM_DPKG_ADMINDIR "tmp.ci/"
00039 
00040 #if 0
00041 int di_system_dpkg_package_configure (di_packages *status, const char *package, bool force);
00042 #endif
00043 int di_system_dpkg_package_control_file_exec (di_package *package, const char *name, int argc, const char *const argv[]);
00044 #if 0
00045 int di_system_dpkg_package_unpack (di_packages *status, const char *_package, const char *filename, di_packages_allocator *allocator);
00046 #endif
00047 
00049 #endif

Generated on Sat Sep 29 08:45:16 2007 for libdebian-installer by  doxygen 1.5.1