Rewrite certinfo apis 27/54827/4
authorSangyoon Jang <s89.jang@samsung.com>
Fri, 18 Dec 2015 05:57:48 +0000 (14:57 +0900)
committerSangyoon Jang <s89.jang@samsung.com>
Tue, 22 Dec 2015 01:13:39 +0000 (10:13 +0900)
commit102b3be5c25cf23c8fc02e799c41c9cba9e55f5e
treec237306270d0a823605a14b8c8220d4b746a84b2
parent541bf62f981c09ac371d277ca16a35074d3b1b60
Rewrite certinfo apis

don't attach global db.
try to get certinfo from user db first, and then try to get certinfo
from global db.

add db trigger to handle cert info indexes.
delete cert index info when the ref count is 0.

Change-Id: Ib530f1a6b9e0fa193b73d6aadd8454b018194ab8
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
include/pkgmgrinfo_private.h
parser/pkgmgr_parser_db.c
src/pkgmgrinfo_certinfo.c
src/pkgmgrinfo_db.c