di_parser_info* di_package_parser_info | ( | void | ) |
For internal use only.
Get parser info for standard control file
00237 { 00238 di_parser_info *info; 00239 00240 info = di_parser_info_alloc (); 00241 di_parser_info_add (info, di_package_parser_fieldinfo); 00242 00243 return info; 00244 }
static di_package* di_package_read_file | ( | const char * | file, | |
di_packages * | packages, | |||
di_packages_allocator * | allocator | |||
) | [inline, static] |
Read a package control file
file | file to read | |
packages | di_packages which the package is add to | |
allocator | the corresponding allocator |
00284 { 00285 return di_package_special_read_file (file, packages, allocator, di_package_parser_info); 00286 }
di_package* di_package_special_read_file | ( | const char * | file, | |
di_packages * | packages, | |||
di_packages_allocator * | allocator, | |||
di_parser_info * | (info)(void) | |||
) |
Read a special package control file
file | file to read | |
packages | di_packages which the package is add to | |
allocator | the corresponding allocator |
Standard package control file
Read function for Dependency field
Read function for Description field
Read function for Priority field
Read function for Status field
Write function for Dependency field
Write function for Description field
Write function for Priority field
Write function for Status field
For internal use only.
parser info