Searched refs:pkg_info (Results 1 – 5 of 5) sorted by relevance
105 struct pkg_info *pkg_info = NULL; in packagelist_parse() local116 pkg_info = calloc(1, sizeof(*pkg_info)); in packagelist_parse()117 if (!pkg_info) { in packagelist_parse()129 pkg_info->name = strdup(cur); in packagelist_parse()130 if (!pkg_info->name) { in packagelist_parse()155 pkg_info->uid = (uid_t) tmp; in packagelist_parse()175 pkg_info->debuggable = (bool) tmp; in packagelist_parse()183 pkg_info->data_dir = strdup(cur); in packagelist_parse()184 if (!pkg_info->data_dir) { in packagelist_parse()194 pkg_info->seinfo = strdup(cur); in packagelist_parse()[all …]
40 typedef struct pkg_info pkg_info; typedef48 struct pkg_info { struct69 typedef bool (*pfn_on_package)(pkg_info *info, void *userdata); argument90 extern void packagelist_free(pkg_info *info);
50 pkg_info* info;53 static bool PackageListParseCallback(pkg_info* info, void* userdata) { in PackageListParseCallback()63 pkg_info* ReadPackageInfo(const char* pkgname) { in ReadPackageInfo()168 pkg_info* info = ReadPackageInfo(pkgname); in main()
63 static bool packagelist_parse_callback(pkg_info* this_package, void* userdata) { in packagelist_parse_callback()64 pkg_info* p = reinterpret_cast<pkg_info*>(userdata); in packagelist_parse_callback()196 pkg_info info; in main()
216 static bool package_list_parser_cb(pkg_info* info, void* /* userdata */) { in package_list_parser_cb()