Di_system_packages

## Data Structures

struct | di_system_package
| Package - System. More...

## Functions

void | di_system_package_destroy (di_system_package *package)
di_packages * | di_system_packages_alloc (void)
di_packages_allocator * | di_system_packages_allocator_alloc (void)
bool | di_system_package_check_subarchitecture (di_package *package, const char *subarchitecture)
di_parser_info * | di_system_package_parser_info (void)
di_parser_info * | di_system_packages_parser_info (void)
di_parser_info * | di_system_packages_status_parser_info (void)
static di_package * | di_system_package_read_file (const char *file, di_packages *packages, di_packages_allocator *allocator)
static di_packages * | di_system_packages_read_file (const char *file, di_packages_allocator *allocator)
static di_packages * | di_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_slist * | di_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_fieldinfo * | di_system_package_parser_fieldinfo []

## Detailed Description

## Function Documentation

## di_system_package_read_file()

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

inline static

Read a standard package control file

Parameters

  file | file to read
  allocator | the allocator for the packages structure

{
return di_package_special_read_file (file, packages, allocator, di_system_package_parser_info);
}
di_package_special_read_file
di_package * di_package_special_read_file(const char *file, di_packages *packages, di_packages_allocator *allocator, di_parser_info *(info)(void))

References di_package_special_read_file().

## di_system_packages_read_file()

static di_packages* di_system_packages_read_file | ( | const char * | file,
|  | di_packages_allocator * | allocator
| ) |  |

inline static

Read a standard Packages file

Parameters

  file | file to read
  allocator | the allocator for the packages structure

{
return di_packages_special_read_file (file, allocator, di_system_packages_parser_info);
}
di_packages_special_read_file
di_packages * di_packages_special_read_file(const char *file, di_packages_allocator *allocator, di_parser_info *(info)(void))

References di_packages_special_read_file().

## di_system_packages_status_read_file()

static di_packages* di_system_packages_status_read_file | ( | const char * | file,
|  | di_packages_allocator * | allocator
| ) |  |

inline static

Read a standard status file

Parameters

  file | file to read
  allocator | the allocator for the packages structure

{
return di_packages_special_read_file (file, allocator, di_system_packages_status_parser_info);
}

References di_packages_special_read_file().

## di_system_packages_status_write_file()

static int di_system_packages_status_write_file | ( | di_packages * | packages,
|  | const char * | file
| ) |  |

inline static

Write a standard status file

Parameters

  packages | the packages structure
  file | file to read

{
return di_packages_special_write_file (packages, file, di_system_packages_status_parser_info);
}
di_packages_special_write_file
int di_packages_special_write_file(di_packages *packages, const char *file, di_parser_info *(info)(void))

References di_packages_special_write_file().

## di_system_packages_write_file()

static int di_system_packages_write_file | ( | di_packages * | packages,
|  | const char * | file
| ) |  |

inline static

Write a standard Packages file

Parameters

  packages | the packages structure
  file | file to read

{
return di_packages_special_write_file (packages, file, di_system_packages_parser_info);
}

References di_packages_special_write_file().