support wildcard for scheme
authorJaeho Lee <jaeho81.lee@samsung.com>
Tue, 5 Feb 2013 01:00:05 +0000 (10:00 +0900)
committerJaeho Lee <jaeho81.lee@samsung.com>
Tue, 5 Feb 2013 01:00:05 +0000 (10:00 +0900)
Signed-off-by: Jaeho Lee <jaeho81.lee@samsung.com>
packaging/app-svc.spec
src/appsvc.c

index 7710ef0..974ed15 100644 (file)
@@ -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
index db1d4da..b08a6c9 100755 (executable)
@@ -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);
                }