libdebian-installer
Data Structures | Functions | Variables
Packages

Data Structures

struct  di_system_package
 Package - System. More...
 

Functions

void di_system_package_destroy (di_system_package *package)
 
di_packagesdi_system_packages_alloc (void)
 
di_packages_allocatordi_system_packages_allocator_alloc (void)
 
bool di_system_package_check_subarchitecture (di_package *package, const char *subarchitecture)
 
di_parser_infodi_system_package_parser_info (void)
 
di_parser_infodi_system_packages_parser_info (void)
 
di_parser_infodi_system_packages_status_parser_info (void)
 
static di_packagedi_system_package_read_file (const char *file, di_packages *packages, di_packages_allocator *allocator)
 
static di_packagesdi_system_packages_read_file (const char *file, di_packages_allocator *allocator)
 
static di_packagesdi_system_packages_status_read_file (const char *file, di_packages_allocator *allocator)
 
static int di_system_packages_write_file (di_packages *packages, const char *file)
 
static int di_system_packages_status_write_file (di_packages *packages, const char *file)
 
di_slistdi_system_packages_resolve_dependencies_array_permissive (di_packages *packages, di_package **array, di_packages_allocator *allocator)
 
void di_system_packages_resolve_dependencies_mark_anna (di_packages *packages, const char *subarchitecture, const char *kernel)
 

Variables

const di_parser_fieldinfodi_system_package_parser_fieldinfo []
 

Detailed Description

Function Documentation

static di_package* di_system_package_read_file ( const char *  file,
di_packages packages,
di_packages_allocator allocator 
)
inlinestatic

Read a standard package control file

Parameters
filefile to read
allocatorthe allocator for the packages structure

References di_package_special_read_file().

66 {
67  return di_package_special_read_file (file, packages, allocator, di_system_package_parser_info);
68 }
static di_packages* di_system_packages_read_file ( const char *  file,
di_packages_allocator allocator 
)
inlinestatic

Read a standard Packages file

Parameters
filefile to read
allocatorthe allocator for the packages structure

References di_packages_special_read_file().

77 {
78  return di_packages_special_read_file (file, allocator, di_system_packages_parser_info);
79 }
static di_packages* di_system_packages_status_read_file ( const char *  file,
di_packages_allocator allocator 
)
inlinestatic

Read a standard status file

Parameters
filefile to read
allocatorthe allocator for the packages structure

References di_packages_special_read_file().

88 {
89  return di_packages_special_read_file (file, allocator, di_system_packages_status_parser_info);
90 }
static int di_system_packages_status_write_file ( di_packages packages,
const char *  file 
)
inlinestatic

Write a standard status file

Parameters
packagesthe packages structure
filefile to read

References di_packages_special_write_file().

110 {
111  return di_packages_special_write_file (packages, file, di_system_packages_status_parser_info);
112 }
static int di_system_packages_write_file ( di_packages packages,
const char *  file 
)
inlinestatic

Write a standard Packages file

Parameters
packagesthe packages structure
filefile to read

References di_packages_special_write_file().

99 {
100  return di_packages_special_write_file (packages, file, di_system_packages_parser_info);
101 }