From bd7da5f724eda348dd98fdcc3e6e32f3850987b7 Mon Sep 17 00:00:00 2001 From: Jaeho Lee Date: Tue, 5 Feb 2013 10:00:05 +0900 Subject: [PATCH] support wildcard for scheme Signed-off-by: Jaeho Lee --- packaging/app-svc.spec | 2 +- src/appsvc.c | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/packaging/app-svc.spec b/packaging/app-svc.spec index 7710ef0..974ed15 100644 --- a/packaging/app-svc.spec +++ b/packaging/app-svc.spec @@ -1,6 +1,6 @@ Name: app-svc Summary: App svc -Version: 0.1.42 +Version: 0.1.43 Release: 1 Group: System/Libraries License: Apache License, Version 2.0 diff --git a/src/appsvc.c b/src/appsvc.c index db1d4da..b08a6c9 100755 --- a/src/appsvc.c +++ b/src/appsvc.c @@ -625,6 +625,9 @@ SLPAPI int appsvc_run_service(bundle *b, int request_code, appsvc_res_fn cbfunc, __get_list_with_condition_mime_extened(info.op, info.scheme, info.mime, info.m_type, info.s_type, &pkg_list); + __get_list_with_condition_mime_extened(info.op, "*", + info.mime, info.m_type, info.s_type, &pkg_list); + if(info.category) { __get_list_with_category(info.category, &pkg_list); } @@ -668,6 +671,9 @@ SLPAPI int appsvc_run_service(bundle *b, int request_code, appsvc_res_fn cbfunc, __get_list_with_condition_mime_extened(info.op, info.scheme, info.mime, info.m_type, info.s_type, &pkg_list); + __get_list_with_condition_mime_extened(info.op, "*", + info.mime, info.m_type, info.s_type, &pkg_list); + if(info.category) { __get_list_with_category(info.category, &pkg_list); } @@ -707,6 +713,9 @@ SLPAPI int appsvc_run_service(bundle *b, int request_code, appsvc_res_fn cbfunc, __get_list_with_condition_mime_extened(info.op, info.scheme, info.mime, info.m_type, info.s_type, &pkg_list); + __get_list_with_condition_mime_extened(info.op, "*", + info.mime, info.m_type, info.s_type, &pkg_list); + if(info.category) { __get_list_with_category(info.category, &pkg_list); } -- 2.7.4