Searched defs:pkg_info (Results 1 - 2 of 2) sorted by relevance

/system/core/libpackagelistparser/include/packagelistparser/
H A Dpackagelistparser.h40 typedef struct pkg_info pkg_info; typedef in typeref:struct:pkg_info
48 struct pkg_info { struct
67 typedef bool (*pfn_on_package)(pkg_info *info, void *userdata);
71 * each entry found. Once the callback is invoked, ownership of the pkg_info pointer
84 * Frees a pkg_info structure.
88 extern void packagelist_free(pkg_info *info);
/system/core/libpackagelistparser/
H A Dpackagelistparser.c105 struct pkg_info *pkg_info = NULL; local
116 pkg_info = calloc(1, sizeof(*pkg_info));
117 if (!pkg_info) {
129 pkg_info->name = strdup(cur);
130 if (!pkg_info->name) {
155 pkg_info->uid = (uid_t) tmp;
175 pkg_info->debuggable = (bool) tmp;
183 pkg_info
[all...]

Completed in 48 milliseconds