OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:pkg_info
(Results
1 - 2
of
2
) sorted by null
/system/core/libpackagelistparser/include/packagelistparser/
packagelistparser.h
40
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/
packagelistparser.c
106
struct
pkg_info
*
pkg_info
= NULL;
local
117
pkg_info
= calloc(1, sizeof(*
pkg_info
));
118
if (!
pkg_info
) {
130
pkg_info
->name = strdup(cur);
131
if (!
pkg_info
->name) {
156
pkg_info
->uid = (uid_t) tmp;
176
pkg_info
->debuggable = (bool) tmp;
184
pkg_info
->data_dir = strdup(cur)
[
all
...]
Completed in 213 milliseconds