Fix coding style 03/241903/1
authorHwankyu Jhun <h.jhun@samsung.com>
Thu, 20 Aug 2020 23:05:07 +0000 (08:05 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Thu, 20 Aug 2020 23:05:07 +0000 (08:05 +0900)
Change-Id: I51950ff599ff4310e52af7d42d1d79093a5c426c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
parser/metadata/alias-appid/pkgmgr_interface.cc
parser/metadata/allowed-appid/pkgmgr_interface.cc

index a11eecf..f0ec880 100644 (file)
@@ -24,8 +24,8 @@
 
 using namespace plugin;
 
-extern "C" API int PKGMGR_MDPARSER_PLUGIN_INSTALL(const char *pkgid,
-    const char *appid, GList *list)
+extern "C" API int PKGMGR_MDPARSER_PLUGIN_INSTALL(const charpkgid,
+    const char* appid, GList* list)
 {
   _W("[__ALIAS_APPID__] pkgid(%s), appid(%s)", pkgid, appid);
   PluginManager::GetInst().AddAppEventArgs(pkgid, appid,
@@ -33,8 +33,8 @@ extern "C" API int PKGMGR_MDPARSER_PLUGIN_INSTALL(const char *pkgid,
   return 0;
 }
 
-extern "C" API int PKGMGR_MDPARSER_PLUGIN_UNINSTALL(const char *pkgid,
-    const char *appid, GList *list)
+extern "C" API int PKGMGR_MDPARSER_PLUGIN_UNINSTALL(const charpkgid,
+    const char* appid, GList* list)
 {
   _W("[__ALIAS_APPID__] pkgid(%s), appid(%s)", pkgid, appid);
   PluginManager::GetInst().AddAppEventArgs(pkgid, appid,
@@ -42,8 +42,8 @@ extern "C" API int PKGMGR_MDPARSER_PLUGIN_UNINSTALL(const char *pkgid,
   return 0;
 }
 
-extern "C" API int PKGMGR_MDPARSER_PLUGIN_UPGRADE(const char *pkgid,
-    const char *appid, GList *list)
+extern "C" API int PKGMGR_MDPARSER_PLUGIN_UPGRADE(const charpkgid,
+    const char* appid, GList* list)
 {
   _W("[__ALIAS_APPID__] pkgid(%s), appid(%s)", pkgid, appid);
   PluginManager::GetInst().AddAppEventArgs(pkgid, appid,
@@ -51,8 +51,8 @@ extern "C" API int PKGMGR_MDPARSER_PLUGIN_UPGRADE(const char *pkgid,
   return 0;
 }
 
-extern "C" API int PKGMGR_MDPARSER_PLUGIN_RECOVERINSTALL(const char *pkgid,
-    const char *appid, GList *list)
+extern "C" API int PKGMGR_MDPARSER_PLUGIN_RECOVERINSTALL(const charpkgid,
+    const char* appid, GList* list)
 {
   _W("[__ALIAS_APPID__] pkgid(%s), appid(%s)", pkgid, appid);
   PluginManager::GetInst().AddAppEventArgs(pkgid, appid,
@@ -60,8 +60,8 @@ extern "C" API int PKGMGR_MDPARSER_PLUGIN_RECOVERINSTALL(const char *pkgid,
   return 0;
 }
 
-extern "C" API int PKGMGR_MDPARSER_PLUGIN_RECOVERUNINSTALL(const char *pkgid,
-    const char *appid, GList *list)
+extern "C" API int PKGMGR_MDPARSER_PLUGIN_RECOVERUNINSTALL(const charpkgid,
+    const char* appid, GList* list)
 {
   _W("[__ALIAS_APPID__] pkgid(%s), appid(%s)", pkgid, appid);
   PluginManager::GetInst().AddAppEventArgs(pkgid, appid,
@@ -69,8 +69,8 @@ extern "C" API int PKGMGR_MDPARSER_PLUGIN_RECOVERUNINSTALL(const char *pkgid,
   return 0;
 }
 
-extern "C" API int PKGMGR_MDPARSER_PLUGIN_RECOVERUPGRADE(const char *pkgid,
-    const char *appid, GList *list)
+extern "C" API int PKGMGR_MDPARSER_PLUGIN_RECOVERUPGRADE(const charpkgid,
+    const char* appid, GList* list)
 {
   _W("[__ALIAS_APPID__] pkgid(%s), appid(%s)", pkgid, appid);
   PluginManager::GetInst().AddAppEventArgs(pkgid, appid,
@@ -78,24 +78,24 @@ extern "C" API int PKGMGR_MDPARSER_PLUGIN_RECOVERUPGRADE(const char *pkgid,
   return 0;
 }
 
-extern "C" API int PKGMGR_MDPARSER_PLUGIN_CLEAN(const char *pkgid,
-    const char *appid, GList *list)
+extern "C" API int PKGMGR_MDPARSER_PLUGIN_CLEAN(const charpkgid,
+    const char* appid, GList* list)
 {
   _W("[__ALIAS_APPID__] pkgid(%s), appid(%s)", pkgid, appid);
   PluginManager::GetInst().Clean();
   return 0;
 }
 
-extern "C" API int PKGMGR_MDPARSER_PLUGIN_UNDO(const char *pkgid,
-    const char *appid, GList *list)
+extern "C" API int PKGMGR_MDPARSER_PLUGIN_UNDO(const charpkgid,
+    const char* appid, GList* list)
 {
   _W("[__ALIAS_APPID__] pkgid(%s), appid(%s)", pkgid, appid);
   PluginManager::GetInst().Undo();
   return 0;
 }
 
-extern "C" API int PKGMGR_MDPARSER_PLUGIN_REMOVED(const char *pkgid,
-    const char *appid, GList *list)
+extern "C" API int PKGMGR_MDPARSER_PLUGIN_REMOVED(const charpkgid,
+    const char* appid, GList* list)
 {
   _W("[__ALIAS_APPID__] pkgid(%s), appid(%s)", pkgid, appid);
   return 0;
index 4cb4219..018cfa4 100644 (file)
@@ -24,8 +24,8 @@
 
 using namespace plugin;
 
-extern "C" API int PKGMGR_MDPARSER_PLUGIN_INSTALL(const char *pkgid,
-    const char *appid, GList *list)
+extern "C" API int PKGMGR_MDPARSER_PLUGIN_INSTALL(const charpkgid,
+    const char* appid, GList* list)
 {
   _W("[__ALLOWED_APPID__] pkgid(%s), appid(%s)", pkgid, appid);
   PluginManager::GetInst().AddAppEventArgs(pkgid, appid,
@@ -33,8 +33,8 @@ extern "C" API int PKGMGR_MDPARSER_PLUGIN_INSTALL(const char *pkgid,
   return 0;
 }
 
-extern "C" API int PKGMGR_MDPARSER_PLUGIN_UNINSTALL(const char *pkgid,
-    const char *appid, GList *list)
+extern "C" API int PKGMGR_MDPARSER_PLUGIN_UNINSTALL(const charpkgid,
+    const char* appid, GList* list)
 {
   _W("[__ALLOWED_APPID__] pkgid(%s), appid(%s)", pkgid, appid);
   PluginManager::GetInst().AddAppEventArgs(pkgid, appid,
@@ -42,8 +42,8 @@ extern "C" API int PKGMGR_MDPARSER_PLUGIN_UNINSTALL(const char *pkgid,
   return 0;
 }
 
-extern "C" API int PKGMGR_MDPARSER_PLUGIN_UPGRADE(const char *pkgid,
-    const char *appid, GList *list)
+extern "C" API int PKGMGR_MDPARSER_PLUGIN_UPGRADE(const charpkgid,
+    const char* appid, GList* list)
 {
   _W("[__ALLOWED_APPID__] pkgid(%s), appid(%s)", pkgid, appid);
   PluginManager::GetInst().AddAppEventArgs(pkgid, appid,
@@ -51,8 +51,8 @@ extern "C" API int PKGMGR_MDPARSER_PLUGIN_UPGRADE(const char *pkgid,
   return 0;
 }
 
-extern "C" API int PKGMGR_MDPARSER_PLUGIN_RECOVERINSTALL(const char *pkgid,
-    const char *appid, GList *list)
+extern "C" API int PKGMGR_MDPARSER_PLUGIN_RECOVERINSTALL(const charpkgid,
+    const char* appid, GList* list)
 {
   _W("[__ALLOWED_APPID__] pkgid(%s), appid(%s)", pkgid, appid);
   PluginManager::GetInst().AddAppEventArgs(pkgid, appid,
@@ -60,8 +60,8 @@ extern "C" API int PKGMGR_MDPARSER_PLUGIN_RECOVERINSTALL(const char *pkgid,
   return 0;
 }
 
-extern "C" API int PKGMGR_MDPARSER_PLUGIN_RECOVERUNINSTALL(const char *pkgid,
-    const char *appid, GList *list)
+extern "C" API int PKGMGR_MDPARSER_PLUGIN_RECOVERUNINSTALL(const charpkgid,
+    const char* appid, GList* list)
 {
   _W("[__ALLOWED_APPID__] pkgid(%s), appid(%s)", pkgid, appid);
   PluginManager::GetInst().AddAppEventArgs(pkgid, appid,
@@ -69,8 +69,8 @@ extern "C" API int PKGMGR_MDPARSER_PLUGIN_RECOVERUNINSTALL(const char *pkgid,
   return 0;
 }
 
-extern "C" API int PKGMGR_MDPARSER_PLUGIN_RECOVERUPGRADE(const char *pkgid,
-    const char *appid, GList *list)
+extern "C" API int PKGMGR_MDPARSER_PLUGIN_RECOVERUPGRADE(const charpkgid,
+    const char* appid, GList* list)
 {
   _W("[__ALLOWED_APPID__] pkgid(%s), appid(%s)", pkgid, appid);
   PluginManager::GetInst().AddAppEventArgs(pkgid, appid,
@@ -78,24 +78,24 @@ extern "C" API int PKGMGR_MDPARSER_PLUGIN_RECOVERUPGRADE(const char *pkgid,
   return 0;
 }
 
-extern "C" API int PKGMGR_MDPARSER_PLUGIN_CLEAN(const char *pkgid,
-    const char *appid, GList *list)
+extern "C" API int PKGMGR_MDPARSER_PLUGIN_CLEAN(const charpkgid,
+    const char* appid, GList* list)
 {
   _W("[__ALLOWED_APPID__] pkgid(%s), appid(%s)", pkgid, appid);
   PluginManager::GetInst().Clean();
   return 0;
 }
 
-extern "C" API int PKGMGR_MDPARSER_PLUGIN_UNDO(const char *pkgid,
-    const char *appid, GList *list)
+extern "C" API int PKGMGR_MDPARSER_PLUGIN_UNDO(const charpkgid,
+    const char* appid, GList* list)
 {
   _W("[__ALLOWED_APPID__] pkgid(%s), appid(%s)", pkgid, appid);
   PluginManager::GetInst().Undo();
   return 0;
 }
 
-extern "C" API int PKGMGR_MDPARSER_PLUGIN_REMOVED(const char *pkgid,
-    const char *appid, GList *list)
+extern "C" API int PKGMGR_MDPARSER_PLUGIN_REMOVED(const charpkgid,
+    const char* appid, GList* list)
 {
   _W("[__ALLOWED_APPID__] pkgid(%s), appid(%s)", pkgid, appid);
   return 0;