From 315e4026bf73a97cdb1a24f4c9ecd988f3ae8ca9 Mon Sep 17 00:00:00 2001 From: "giyeol.ok" Date: Tue, 21 Aug 2012 19:28:59 +0900 Subject: tizen 2.0 build --- AUTHORS | 4 +- CMakeLists.txt | 1 + TC/tet_code | 0 TC/tet_scen | 0 TC/tetbuild.cfg | 0 TC/tetclean.cfg | 0 TC/tetexec.cfg | 0 debian/changelog | 988 +++++++++++++++++++++++++++++++++++- debian/control | 0 debian/libslp-sysman-dev.install.in | 1 + debian/rules | 1 - packaging/sysman.spec | 4 +- set_pmon/regpmon.sh | 2 +- sysconf.c | 0 sysman.h | 29 +- sysman_managed.h | 56 ++ 16 files changed, 1044 insertions(+), 42 deletions(-) mode change 100755 => 100644 TC/tet_code mode change 100755 => 100644 TC/tet_scen mode change 100755 => 100644 TC/tetbuild.cfg mode change 100755 => 100644 TC/tetclean.cfg mode change 100755 => 100644 TC/tetexec.cfg mode change 100755 => 100644 debian/control mode change 100644 => 100755 debian/libslp-sysman-dev.install.in mode change 100755 => 100644 sysconf.c mode change 100644 => 100755 sysman.h create mode 100755 sysman_managed.h diff --git a/AUTHORS b/AUTHORS index 67e6bd9..6edd069 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,2 +1,2 @@ -Jinkun Jang -DongGi Jang +Giyeol Ok +Taesoo Jun diff --git a/CMakeLists.txt b/CMakeLists.txt index e27ea72..169ad5a 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -41,6 +41,7 @@ CONFIGURE_FILE(${PROJECT_NAME}.pc.in ${PROJECT_NAME}.pc @ONLY) INSTALL(TARGETS ${PROJECT_NAME} DESTINATION lib COMPONENT RuntimeLibraries) INSTALL(FILES ${CMAKE_SOURCE_DIR}/sysman.h DESTINATION include/${PROJECT_NAME}) +INSTALL(FILES ${CMAKE_SOURCE_DIR}/sysman_managed.h DESTINATION include/${PROJECT_NAME}) INSTALL(FILES ${CMAKE_SOURCE_DIR}/sysman-internal.h DESTINATION include/${PROJECT_NAME}) INSTALL(FILES ${CMAKE_SOURCE_DIR}/SLP_sysman_PG.h DESTINATION include/${PROJECT_NAME}) INSTALL(FILES ${CMAKE_BINARY_DIR}/${PROJECT_NAME}.pc DESTINATION lib/pkgconfig) diff --git a/TC/tet_code b/TC/tet_code old mode 100755 new mode 100644 diff --git a/TC/tet_scen b/TC/tet_scen old mode 100755 new mode 100644 diff --git a/TC/tetbuild.cfg b/TC/tetbuild.cfg old mode 100755 new mode 100644 diff --git a/TC/tetclean.cfg b/TC/tetclean.cfg old mode 100755 new mode 100644 diff --git a/TC/tetexec.cfg b/TC/tetexec.cfg old mode 100755 new mode 100644 diff --git a/debian/changelog b/debian/changelog index 9ee4465..f8ac1e6 100755 --- a/debian/changelog +++ b/debian/changelog @@ -1,24 +1,996 @@ +libslp-sysman (0.2.25-75) unstable; urgency=low + + * detach some functions to classify it as managed API from legacy APIs + * Git: slp/pkgs/l/libslp-sysman + * Tag: libslp-sysman_0.2.25-75 + + -- Walyong Cho Tue, 10 Jul 2012 17:20:08 +0900 + +libslp-sysman (0.2.25-74) unstable; urgency=low + + * insert drm_server daemon in the permanent process group + * Git: slp/pkgs/l/libslp-sysman + * Tag: libslp-sysman_0.2.25-74 + + -- Giyeol Ok Mon, 09 Jul 2012 17:20:08 +0900 + +libslp-sysman (0.2.25-73) unstable; urgency=low + + * remove unnecessary definition for vconf + * Git: slp/pkgs/l/libslp-sysman + * Tag: libslp-sysman_0.2.25-73 + + -- Jinkun Jang Thu, 17 May 2012 12:38:08 +0900 + +libslp-sysman (0.2.25-72) unstable; urgency=low + + * update for oal layer update + * Git: slp/pkgs/l/libslp-sysman + * Tag: libslp-sysman_0.2.25-72 + + -- Jinkun Jang Wed, 16 May 2012 11:58:08 +0900 + +libslp-sysman (0.2.25-71) unstable; urgency=low + + * Add permanent process (nfc-manager-daemon) + * Git: slp/pkgs/l/libslp-sysman + * Tag: libslp-sysman_0.2.25-71 + + -- Jinkun Jang Mon, 30 Apr 2012 17:44:08 +0900 + libslp-sysman (0.2.25-70) unstable; urgency=low * update for new oal layer + * remove S20pmon (unnecessary script) * Git: slp/pkgs/l/libslp-sysman * Tag: libslp-sysman_0.2.25-70 -- Jinkun Jang Mon, 09 Apr 2012 14:44:08 +0900 +libslp-sysman (0.2.25-69) unstable; urgency=low + + * modify obs spec file for build system + * Git: slp/pkgs/l/libslp-sysman + * Tag: libslp-sysman_0.2.25-69 + + -- Jinkun Jang Mon, 19 Mar 2012 12:24:08 +0900 + +libslp-sysman (0.2.25-68) unstable; urgency=low + + * modify bug for dlopen & modify obs spec file + * Git: slp/pkgs/l/libslp-sysman + * Tag: libslp-sysman_0.2.25-68 + + -- Jinkun Jang Fri, 16 Mar 2012 18:54:08 +0900 + +libslp-sysman (0.2.25-67) unstable; urgency=low + + * Change code to use devman-plugin + * Git: slp/pkgs/l/libslp-sysman + * Tag: libslp-sysman_0.2.25-67 + + -- DongGi Jang Wed, 22 Feb 2012 11:04:08 +0900 + libslp-sysman (0.2.25-66) unstable; urgency=low - * sync version - * Git: pkgs/l/libslp-sysman + * source clean up (remove unused regkey-generator, unnecesary comments, and so on) + * Git: slp/pkgs/l/libslp-sysman * Tag: libslp-sysman_0.2.25-66 - -- Jinkun Jang Thu, 15 Dec 2011 10:58:25 +0900 + -- Jinkun Jang Tue, 06 Dec 2011 11:18:25 +0900 + +libslp-sysman (0.2.25-65) unstable; urgency=low + + * merge sysman-internal.h's APIs to sysma.h to remove unnecessary package, sysman-internal-dev + * Git: 165.213.180.234:slp/pkgs/l/libslp-sysman + * Tag: libslp-sysman_0.2.25-65 + + -- Jinkun Jang Mon, 05 Dec 2011 16:13:25 +0900 + +libslp-sysman (0.2.25-64) unstable; urgency=low + + * Modify cpu frequency setting APIs + * Change vip process name (thumb-daemon -> media-thumbnail-server) + * Change boiler plate + * Git: 165.213.180.234:slp/pkgs/l/libslp-sysman + * Tag: libslp-sysman_0.2.25-64 + + -- DongGi Jang Mon, 05 Dec 2011 12:35:25 +0900 + +libslp-sysman (0.2.25-63) unstable; urgency=low + + * modify callback function name for mmc format + * Git: 165.213.180.234:slp/pkgs/l/libslp-sysman + * Tag: libslp-sysman_0.2.25-63 + + -- Jinkun Jang Thu, 01 Dec 2011 16:17:21 +0900 + +libslp-sysman (0.2.25-62) unstable; urgency=low + + * add APIs to set cpu min/max frequency + * Git: 165.213.180.234:slp/pkgs/l/libslp-sysman + * Tag: libslp-sysman_0.2.25-62 + + -- Jinkun Jang Wed, 23 Nov 2011 14:17:21 +0900 + +libslp-sysman (0.2.25-61) unstable; urgency=low + + * remove unnecessary APIs(sysman_launch_xxx, sysman_set_current_language) + * remove binary, sysman_wd for security + * Git: 165.213.180.234:slp/pkgs/l/libslp-sysman + * Tag: libslp-sysman_0.2.25-61 + + -- Jinkun Jang Mon, 21 Nov 2011 16:17:21 +0900 + +libslp-sysman (0.2.25-60) unstable; urgency=low -libslp-sysman (0.0.1-1) unstable; urgency=low + * add log for debug + * Git: 165.213.180.234:slp/pkgs/l/libslp-sysman + * Tag: libslp-sysman_0.2.25-60 - * initial release - * Git: pkgs/l/libslp-sysman - * Tag: libslp-sysman_0.0.1-1 + -- Jinkun Jang Wed, 26 Oct 2011 20:09:21 +0900 + +libslp-sysman (0.2.25-59) unstable; urgency=low - -- Jinkun Jang Wed, 07 Dec 2011 12:58:25 +0900 + * Remove permanent process (live-data-provider) + * Git: 165.213.180.234:slp/pkgs/l/libslp-sysman + * Tag: libslp-sysman_0.2.25-59 + + -- DongGi Jang Mon, 24 Oct 2011 15:09:21 +0900 + +libslp-sysman (0.2.25-58) unstable; urgency=low + + * Add permanent process (thumb-daemon) + * Git: 165.213.180.234:slp/pkgs/l/libslp-sysman + * Tag: libslp-sysman_0.2.25-58 + + -- DongGi Jang Wed, 12 Oct 2011 14:11:08 +0900 + +libslp-sysman (0.2.25-57) unstable; urgency=low + + * Modify Makefile of TC units + * Git: 165.213.180.234:slp/pkgs/l/libslp-sysman + * Tag: libslp-sysman_0.2.25-57 + + -- DongGi Jang Thu, 06 Oct 2011 11:15:53 +0900 + +libslp-sysman (0.2.25-56) unstable; urgency=low + + * Remove unnecessary APIs + * Git: 165.213.180.234:slp/pkgs/l/libslp-sysman + * Tag: libslp-sysman_0.2.25-56 + -- Jinkun Jang Tue, 23 Aug 2011 17:14:24 +0900 + +libslp-sysman (0.2.25-55) unstable; urgency=low + + * Correct using open API + * Git: 165.213.180.234:slp/pkgs/l/libslp-sysman + * Tag: libslp-sysman_0.2.25-55 + + -- DongGi Jang Fri, 12 Aug 2011 16:44:24 +0900 + +libslp-sysman (0.2.25-54) unstable; urgency=low + + * Add mode to open for creating file + * Git: 165.213.180.234:slp/pkgs/l/libslp-sysman + * Tag: libslp-sysman_0.2.25-54 + + -- DongGi Jang Wed, 10 Aug 2011 10:53:56 +0900 + +libslp-sysman (0.2.25-53) unstable; urgency=low + + * Fix errors from prevent check + * Git: 165.213.180.234:slp/pkgs/l/libslp-sysman + * Tag: libslp-sysman_0.2.25-53 + + -- DongGi Jang Fri, 05 Aug 2011 15:38:41 +0900 + +libslp-sysman (0.2.25-52) unstable; urgency=low + + * add functions for mmc + * Git: 165.213.180.234:slp/pkgs/l/libslp-sysman + * Tag: libslp-sysman_0.2.25-52 + + -- Jinkun Jang Thu, 28 JuL 2011 14:33:22 +0900 + +libslp-sysman (0.2.25-51) unstable; urgency=low + + * add launchpad_preloading_preinitializing_daemon into permanent process + * Git: 165.213.180.234:slp/pkgs/l/libslp-sysman + * Tag: libslp-sysman_0.2.25-51 + + -- DongGi Jang Fri, 24 Jun 2011 11:33:22 +0900 + +libslp-sysman (0.2.25-50) unstable; urgency=low + + * Add check logic lines due to SVACE analyze + * Git: 165.213.180.234:slp/pkgs/l/libslp-sysman + * Tag: libslp-sysman_0.2.25-50 + + -- DongGi Jang Fri, 10 Jun 2011 11:33:22 +0900 + +libslp-sysman (0.2.25-49) unstable; urgency=low + + * add apis for mmc + * Git: 165.213.180.234:slp/pkgs/l/libslp-sysman + * Tag: libslp-sysman_0.2.25-49 + + -- Jinkun Jang Wed, 08 Jun 2011 09:18:37 +0900 + +libslp-sysman (0.2.25-48) unstable; urgency=low + + * change the permanant process name from file-manager-server to media-server + * Git: 165.213.180.234:slp/pkgs/l/libslp-sysman + * Tag: libslp-sysman_0.2.25-48 + + -- Jinkun Jang Wed, 01 Jun 2011 11:18:37 +0900 + +libslp-sysman (0.2.25-47) unstable; urgency=low + + * change the permanant process name from menu_daemon to menu-daemon + * Git: 165.213.180.234:slp/pkgs/l/libslp-sysman + * Tag: libslp-sysman_0.2.25-47 + + -- Jinkun Jang Wed, 13 Apr 2011 15:18:37 +0900 + +libslp-sysman (0.2.25-46) unstable; urgency=low + + * add live-data-provider into permanent process + * Git: 165.213.180.234:slp/pkgs/l/libslp-sysman + * Tag: libslp-sysman_0.2.25-46 + + -- Jinkun Jang Wed, 13 Apr 2011 13:18:37 +0900 + +libslp-sysman (0.2.25-45) unstable; urgency=low + + * re-modify the bug for prevent 16511 + * Git: 165.213.180.234:slp/pkgs/l/libslp-sysman + * Tag: libslp-sysman_0.2.25-45 + + -- Jinkun Jang Mon, 14 Mar 2011 15:18:37 +0900 + +libslp-sysman (0.2.25-44) unstable; urgency=low + + * fix the bug for prevent 16511 + * Git: 165.213.180.234:slp/pkgs/l/libslp-sysman + * Tag: libslp-sysman_0.2.25-44 + + -- Jinkun Jang Wed, 23 Feb 2011 13:18:37 +0900 + +libslp-sysman (0.2.25-43) unstable; urgency=low + + * add audio-session-mgr-server into permanent process + * Git: 165.213.180.234:slp/pkgs/l/libslp-sysman + * Tag: libslp-sysman_0.2.25-43 + + -- Jinkun Jang Thu, 17 Feb 2011 18:18:37 +0900 + +libslp-sysman (0.2.25-42) unstable; urgency=low + + * add sound_server into permanent process + * Git: 165.213.180.234:slp/pkgs/l/libslp-sysman + * Tag: libslp-sysman_0.2.25-42 + + -- Jinkun Jang Thu, 17 Feb 2011 10:18:37 +0900 + +libslp-sysman (0.2.25-41) unstable; urgency=low + + * fix the bug for prevent 15246 & 16511 + * Git: 165.213.180.234:slp/pkgs/l/libslp-sysman + * Tag: libslp-sysman_0.2.25-41 + + -- Jinkun Jang Mon, 14 Feb 2011 16:18:37 +0900 + +libslp-sysman (0.2.25-40) unstable; urgency=low + + * remove xinit from vip process + * Git: 165.213.180.234:slp/pkgs/l/libslp-sysman + * Tag: libslp-sysman_0.2.25-40 + + -- Jinkun Jang Mon, 14 Feb 2011 13:18:37 +0900 + +libslp-sysman (0.2.25-39) unstable; urgency=low + + * add quickpanel into permanent process + * Git: 165.213.180.234:slp/pkgs/l/libslp-sysman + * Tag: libslp-sysman_0.2.25-39 + + -- Jinkun Jang Thu, 10 Feb 2011 13:18:37 +0900 + +libslp-sysman (0.2.25-38) unstable; urgency=low + + * update TC (remove tc for permanent and vip) + * Git: 165.213.180.234:slp/pkgs/l/libslp-sysman + * Tag: libslp-sysman_0.2.25-38 + + -- Jinkun Jang Wed, 09 Feb 2011 13:18:37 +0900 + +libslp-sysman (0.2.25-37) unstable; urgency=low + + * remove regpmon.desktop file + * Git: 165.213.180.234:slp/pkgs/l/libslp-sysman + * Tag: libslp-sysman_0.2.25-37 + + -- Jinkun Jang Mon, 24 Jan 2011 10:18:37 +0900 + +libslp-sysman (0.2.25-36) unstable; urgency=low + + * update TC (sysman_launch_after_kill_if_exist() api launches lowmem-popup + not smartsearch + * Git: 165.213.180.234:slp/pkgs/l/libslp-sysman + * Tag: libslp-sysman_0.2.25-36 + + -- Jinkun Jang Fri, 21 Jan 2011 10:18:37 +0900 + +libslp-sysman (0.2.25-35) unstable; urgency=low + + * update TC + * Git: 165.213.180.234:slp/pkgs/l/libslp-sysman + * Tag: libslp-sysman_0.2.25-35 + + -- Jinkun Jang Tue, 04 Jan 2011 16:18:37 +0900 + +libslp-sysman (0.2.25-34) unstable; urgency=low + + * remove unnecessary TC + * Git: 165.213.180.234:slp/pkgs/l/libslp-sysman + * Tag: libslp-sysman_0.2.25-34 + + -- Jinkun Jang Wed, 22 Dec 2010 16:18:37 +0900 + +libslp-sysman (0.2.25-33) unstable; urgency=low + + * modify TC + * Git: 165.213.180.234:slp/pkgs/l/libslp-sysman + * Tag: libslp-sysman_0.2.25-33 + + -- Jinkun Jang Wed, 22 Dec 2010 10:18:37 +0900 + +libslp-sysman (0.2.25-32) unstable; urgency=low + + * update TC + * Git: 165.213.180.234:slp/pkgs/l/libslp-sysman + * Tag: libslp-sysman_0.2.25-32 + + -- Jinkun Jang Tue, 21 Dec 2010 10:18:37 +0900 + +libslp-sysman (0.2.25-31) unstable; urgency=low + + * modify setting the time + * Git: 165.213.180.234:slp/pkgs/l/libslp-sysman + * Tag: libslp-sysman_0.2.25-31 + + -- Jinkun Jang Wed, 15 Dec 2010 10:18:37 +0900 + +libslp-sysman (0.2.25-30) unstable; urgency=low + + * add dnet for permanent process + * Git: 165.213.180.234:slp/pkgs/l/libslp-sysman + * Tag: libslp-sysman_0.2.25-30 + + -- Jinkun Jang Wed, 15 Dec 2010 10:18:37 +0900 + +libslp-sysman (0.2.25-29) unstable; urgency=low + + * add sysman_set_timezone() for time zone & change pulseaudio and + telephony-server from permanent process to vip process + * Git: 165.213.180.234:slp/pkgs/l/libslp-sysman + * Tag: libslp-sysman_0.2.25-29 + + -- Jinkun.Jang Fri, 10 Dec 2010 11:33:53 +0900 + +libslp-sysman (0.2.25-28) unstable; urgency=low + + * update TC + * Git: 165.213.180.234:slp/pkgs/l/libslp-sysman + * Tag: libslp-sysman_0.2.25-28 + + -- Jinkun.jang Wed, 08 Dec 2010 20:44:01 +0900 + +libslp-sysman (0.2.25-27) unstable; urgency=low + + * remove internal dev from sdk + * Git: 165.213.180.234:/git/slp/pkgs/libslp-sysman + * Tag: libslp-sysman_0.2.25-27 + + -- Jinkun Jang Thu, 02 Dec 2010 18:49:15 +0900 + +libslp-sysman (0.2.25-26) unstable; urgency=low + + * rebuild due to EFL update + * Git: 165.213.180.234:/git/slp/pkgs/libslp-sysman + * Tag: libslp-sysman_0.2.25-26 + + -- Jinkun Jang Thu, 02 Dec 2010 13:49:15 +0900 + +libslp-sysman (0.2.25-25) unstable; urgency=low + + * update TC + * Git: 165.213.180.234:/git/slp/pkgs/libslp-sysman + * Tag: libslp-sysman_0.2.25-25 + + -- Jinkun Jang Thu, 02 Dec 2010 10:49:15 +0900 + +libslp-sysman (0.2.25-24) unstable; urgency=low + + * add telephony-server into permanent process + * Git: 165.213.180.234:/git/slp/pkgs/libslp-sysman + * Tag: libslp-sysman_0.2.25-24 + + -- Jinkun Jang Fri, 26 Nov 2010 17:05:13 +0900 + +libslp-sysman (0.2.25-23) unstable; urgency=low + + * update PG + * Git: 165.213.180.234:/git/slp/pkgs/libslp-sysman + * Tag: libslp-sysman_0.2.25-23 + + -- Jinkun Jang Thu, 18 Nov 2010 16:03:24 +0900 + +libslp-sysman (0.2.25-22) unstable; urgency=low + + * remove eas-engine from permanent process + * Git: 165.213.180.234:/git/slp/pkgs/libslp-sysman + * Tag: libslp-sysman_0.2.25-22 + + -- Jinkun Jang Mon, 15 Nov 2010 06:31:01 +0900 + +libslp-sysman (0.2.25-21) unstable; urgency=low + + * modigy power off scenario + * Git: 165.213.180.234:/git/slp/pkgs/libslp-sysman + * Tag: libslp-sysman_0.2.25-21 + + -- Jinkun Jang Wed, 10 Nov 2010 14:44:21 +0900 + +libslp-sysman (0.2.25-20) unstable; urgency=low + + * add sysman_set_datetime + * Git: 165.213.180.234:/git/slp/pkgs/libslp-sysman + * Tag: libslp-sysman_0.2.25-20 + + -- Jinkun Jang Tue, 09 Nov 2010 14:39:21 +0900 + +libslp-sysman (0.2.25-19) unstable; urgency=low + + * modify power off scenario + * Git: 165.213.180.234:/git/slp/pkgs/libslp-sysman + * Tag: libslp-sysman_0.2.25-19 + + -- Jinkun Jang Wed, 03 Nov 2010 19:28:56 +0900 + +libslp-sysman (0.2.25-18) unstable; urgency=low + + * add eas-engine into permanent + * Git: 165.213.180.234:/git/slp/pkgs/libslp-sysman + * Tag: libslp-sysman_0.2.25-18 + + -- Jinkun Jang Tue, 02 Nov 2010 21:46:30 +0900 + +libslp-sysman (0.2.25-17) unstable; urgency=low + + * add copyright + * Git: 165.213.180.234:/git/slp/pkgs/libslp-sysman + * Tag: libslp-sysman_0.2.25-17 + + -- Jinkun Jang Wed, 27 Oct 2010 14:01:07 +0900 + +libslp-sysman (0.2.25-16) unstable; urgency=low + + * modified CMakeLists.txt for renaming so files + * Git: 165.213.180.234:/git/slp/pkgs/libslp-sysman + * Tag: libslp-sysman_0.2.25-16 + + -- Jinkun Jang Thu, 21 Oct 2010 15:50:16 +0900 + +libslp-sysman (0.2.25-15) unstable; urgency=low + + * add S99regpmon + * Git: 165.213.180.234:/git/slp/pkgs/libslp-sysman + * Tag: libslp-sysman_0.2.25-15 + + -- Jinkun Jang Mon, 18 Oct 2010 14:40:44 +0900 + +libslp-sysman (0.2.25-14) unstable; urgency=low + + * add sysman_set_date/time() + * Git: 165.213.180.234:/git/slp/pkgs/libslp-sysman + * Tag: libslp-sysman_0.2.25-14 + + -- Jinkun Jang Thu, 14 Oct 2010 10:08:08 +0900 + +libslp-sysman (0.2.25-13) unstable; urgency=low + + * add programming guide + * Git: 165.213.180.234:/git/slp/pkgs/libslp-sysman + * Tag: libslp-sysman_0.2.25-13 + + -- Jinkun Jang Wed, 13 Oct 2010 17:24:04 +0900 + +libslp-sysman (0.2.25-12) unstable; urgency=low + + * add sf_server into permenent + * Git: 165.213.180.234:/git/slp/pkgs/libslp-sysman + * Tag: libslp-sysman_0.2.25-12 + + -- Jinkun Jang Mon, 11 Oct 2010 21:13:50 +0900 + +libslp-sysman (0.2.25-11) unstable; urgency=low + + * modify set oomadj scenario + * Git: 165.213.180.234:/git/slp/pkgs/libslp-sysman + * Tag: libslp-sysman_0.2.25-11 + + -- Jinkun Jang Wed, 06 Oct 2010 19:50:04 +0900 + +libslp-sysman (0.2.25-10) unstable; urgency=low + + * add TC + * Git: 165.213.180.234:/git/slp/pkgs/libslp-sysman + * Tag: libslp-sysman_0.2.25-10 + + -- Jinkun Jang Tue, 05 Oct 2010 23:29:14 +0900 + +libslp-sysman (0.2.25-9) unstable; urgency=low + + * add pulseaudio into permenent + * Git: 165.213.180.234:git/slp/pkgs/libslp-sysman + * Tag: libslp-sysman_0.2.25-9 + + -- Jinkun Jang Thu, 30 Sep 2010 11:57:32 +0900 + +libslp-sysman (0.2.25-8) unstable; urgency=low + + * modify regpmon.sh for hibernation + * Git: 165.213.180.234:git/slp/pkgs/libslp-sysman + * Tag: libslp-sysman_0.2.25-8 + + -- Jinkun Jang Thu, 30 Sep 2010 11:57:32 +0900 + +libslp-sysman (0.2.25-7) unstable; urgency=low + + * modify CMakeLists.txt for sbs-for-master + * Git: 165.213.180.234:/git/slp/pkgs/libslp-sysman + * Tag: libslp-sysman_0.2.25-7 + + -- Jinkun Jang Thu, 23 Sep 2010 09:20:26 +0900 + +libslp-sysman (0.2.25-6) unstable; urgency=low + + * rollback return value for sysconf_is_vip() + * Git: 165.213.180.234:/git/slp/pkgs/libslp-sysman + * Tag: libslp-sysman_0.2.25-6 + + -- Jinkun Jang Fri, 03 Sep 2010 13:56:19 +0900 + +libslp-sysman (0.2.25-5) unstable; urgency=low + + * modify header files for doxigen + * Git: 165.213.180.234:/git/slp/pkgs/libslp-sysman + * Tag: libslp-sysman_0.2.25-5 + + -- Jinkun Jang Thu, 02 Sep 2010 16:50:32 +0900 + +libslp-sysman (0.2.25-4) unstable; urgency=low + + * fix bug which is calling end function before calling istart function + * Git: 165.213.180.234:/git/slp/pkgs/libslp-sysman + * Tag: libslp-sysman_0.2.25-4 + + -- Jinkun Jang Wed, 28 Jul 2010 14:54:54 +0900 + +libslp-sysman (0.2.25-3) unstable; urgency=low + + * add copyright & remove @internal tag in sysman-internal.h + * Git: 165.213.180.234:/git/slp/pkgs/libslp-sysman + * Tag: libslp-sysman_0.2.25-3 + + -- Jinkun Jang Thu, 22 Jul 2010 19:58:46 +0900 + +libslp-sysman (0.2.25-2) unstable; urgency=low + + * change maintainer + * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libslp-sysman-0 + * Tag: libslp-sysman_0.2.25-2 + + -- Jinkun Jang Thu, 08 Jul 2010 15:49:09 +0900 + +libslp-sysman (0.2.25-1) unstable; urgency=low + + * code cleanup + * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libslp-sysman-0 + * Tag: libslp-sysman_0.2.25-1 + + -- Wonil Choi Thu, 24 Jun 2010 09:46:15 +0900 + +libslp-sysman (0.2.24-2) unstable; urgency=low + + * add dlog + * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libslp-sysman-0 + * Tag: libslp-sysman_0.2.24-2 + + -- Wonil Choi Fri, 18 Jun 2010 15:33:05 +0900 + +libslp-sysman (0.2.24-1) unstable; urgency=low + + * bug fix for post job + * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libslp-sysman-0 + * Tag: libslp-sysman_0.2.24-1 + + -- Wonil Choi Tue, 15 Jun 2010 15:13:50 +0900 + +libslp-sysman (0.2.23-1) unstable; urgency=low + + * include header and bug fix for post job + * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libslp-sysman-0 + * Tag: libslp-sysman_0.2.23-1 + + -- Wonil Choi Wed, 09 Jun 2010 10:11:44 +0900 + +libslp-sysman (0.2.22-1) unstable; urgency=low + + * remove deprecated APIs + * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libslp-sysman-0 + * Tag: libslp-sysman_0.2.22-1 + + -- Wonil Choi Thu, 03 Jun 2010 19:50:30 +0900 + +libslp-sysman (0.2.21-3) unstable; urgency=low + + * modify doxygen comments and remove tag for internal pkg + * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libslp-sysman-0 + * Tag: libslp-sysman_0.2.21-3 + + -- Wonil Choi Thu, 03 Jun 2010 15:13:51 +0900 + +libslp-sysman (0.2.21-2) unstable; urgency=low + + * add doxygen comments for example codes + * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libslp-sysman-0 + * Tag: libslp-sysman_0.2.21-2 + + -- Wonil Choi Thu, 03 Jun 2010 07:36:04 +0900 + +libslp-sysman (0.2.21-1) unstable; urgency=low + + * bug fix copy_cmdline and correct typo + * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libslp-sysman-0 + * Tag: libslp-sysman_0.2.21-1 + + -- Wonil Choi Mon, 31 May 2010 16:51:02 +0900 + +libslp-sysman (0.2.20-1) unstable; urgency=low + + * add assigning errno value + * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libslp-sysman-0 + * Tag: libslp-sysman_0.2.20-1 + + -- Wonil Choi Mon, 31 May 2010 13:36:54 +0900 + +libslp-sysman (0.2.19-1) unstable; urgency=low + + * add sysman_request_reboot() + * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libslp-sysman-0 + * Tag: libslp-sysman_0.2.19-1 + + -- Wonil Choi Sat, 29 May 2010 12:55:43 +0900 + +libslp-sysman (0.2.18-1) unstable; urgency=low + + * modified get_cmdline_name() and get_app_path() + * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libslp-sysman-0 + * Tag: libslp-sysman_0.2.18-1 + + -- Wonil Choi Fri, 28 May 2010 14:51:17 +0900 + +libslp-sysman (0.2.17-3) unstable; urgency=low + + * add the version to file name + * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libslp-sysman-0 + * Tag: libslp-sysman_0.2.17-3 + + -- Wonil Choi Fri, 28 May 2010 09:04:27 +0900 + +libslp-sysman (0.2.17-2) unstable; urgency=low + + * modified internal-dev dependency + * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libslp-sysman-0 + * Tag: libslp-sysman_0.2.17-2 + + -- Wonil Choi Thu, 27 May 2010 21:45:40 +0900 + +libslp-sysman (0.2.17-1) unstable; urgency=low + + * add sysman_inform_backgrd() and sysman_inform_forebrd() + * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libslp-sysman-0 + * Tag: libslp-sysman_0.2.17-1 + + -- Wonil Choi Thu, 27 May 2010 20:58:35 +0900 + +libslp-sysman (0.2.16-1) unstable; urgency=low + + * remove privileged mode of sysman_launch_xxx() APIs + * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libslp-sysman-0 + * Tag: libslp-sysman_0.2.16-1 + + -- Wonil Choi Wed, 26 May 2010 10:56:22 +0900 + +libslp-sysman (0.2.15-2) unstable; urgency=low + + * modified comments + * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libslp-sysman-0 + * Tag: libslp-sysman_0.2.15-2 + + -- Wonil Choi Mon, 24 May 2010 23:36:34 +0900 + +libslp-sysman (0.2.15-1) unstable; urgency=low + + * clean up APIs + * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libslp-sysman-0 + * Tag: libslp-sysman_0.2.15-1 + + -- Wonil Choi Mon, 24 May 2010 22:24:21 +0900 + +libslp-sysman (0.2.14-1) unstable; urgency=low + + * add doxygen comments and change a return value of sysman_get_pid() + * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libslp-sysman-0 + * Tag: libslp-sysman_0.2.14-1 + + -- Wonil Choi Mon, 24 May 2010 20:13:15 +0900 + +libslp-sysman (0.2.13-3) unstable; urgency=low + + * add doxygen comments + * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libslp-sysman-0 + * Tag: libslp-sysman_0.2.13-3 + + -- Wonil Choi Thu, 20 May 2010 09:16:17 +0900 + +libslp-sysman (0.2.13-2) unstable; urgency=low + + * add doxygen comments and replace char* to const char * + * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libslp-sysman-0 + * Tag: libslp-sysman_0.2.13-2 + + -- Wonil Choi Wed, 19 May 2010 12:39:56 +0900 + +libslp-sysman (0.2.13-1) unstable; urgency=low + + * add nice value and flag parameter in launch_xxx() APIs + * add dlog-daemon, ss-server, file-manager-server to permanent + * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libslp-sysman-0 + * Tag: libslp-sysman_0.2.13-1 + + -- Wonil Choi Tue, 18 May 2010 15:52:48 +0900 + +libslp-sysman (0.2.12-1) unstable; urgency=low + + * add sysman_get_pid() + * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libslp-sysman-0 + * Tag: libslp-sysman_0.2.12-1 + + -- Wonil Choi Thu, 13 May 2010 11:19:11 +0900 + +libslp-sysman (0.2.11-1) unstable; urgency=low + + * replace a deprecated function + * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libslp-sysman-0 + * Tag: libslp-sysman_0.2.11-1 + + -- Wonil Choi Wed, 12 May 2010 13:16:49 +0900 + +libslp-sysman (0.2.10-2) unstable; urgency=low + + * replace char* to const char* + * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libslp-sysman-0 + * Tag: libslp-sysman_0.2.10-2 + + -- Wonil Choi Tue, 11 May 2010 13:30:57 +0900 + +libslp-sysman (0.2.10-1) unstable; urgency=low + + * Add a new function for deprecation and changed DAC policy + * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libslp-sysman-0 + * Tag: libslp-sysman_0.2.10-1 + + -- Wonil Choi Tue, 11 May 2010 12:58:53 +0900 + +libslp-sysman (0.2.9-2) unstable; urgency=low + + * Add comments + * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libslp-sysman-0 + * Tag: libslp-sysman_0.2.9-2 + + -- Wonil Choi Tue, 11 May 2010 11:07:06 +0900 + +libslp-sysman (0.2.9-1) unstable; urgency=low + + * Add new function for deprecation + * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libslp-sysman-0 + * Tag: libslp-sysman_0.2.9-1 + + -- Wonil Choi Tue, 11 May 2010 09:52:31 +0900 + +libslp-sysman (0.2.8-1) unstable; urgency=low + + * clean up APIs and merging core_util_launch functions + * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libslp-sysman-0 + * Tag: libslp-sysman_0.2.8-1 + + -- Wonil Choi Mon, 10 May 2010 22:06:24 +0900 + +libslp-sysman (0.2.7-3) unstable; urgency=low + + * add Xorg and enlightenment to vip + * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libslp-sysman-0 + * Tag: libslp-sysman_0.2.7-3 + + -- Wonil Choi Mon, 03 May 2010 09:04:03 +0900 + +libslp-sysman (0.2.7-2) unstable; urgency=low + + * Add comments + * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libslp-sysman-0 + * Tag: libslp-sysman_0.2.7-2 + + -- Wonil Choi Tue, 27 Apr 2010 09:09:07 +0900 + +libslp-sysman (0.2.7-1) unstable; urgency=low + + * Add sysperf APIs - logging CPU freq stats + * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libslp-sysman-0 + * Tag: libslp-sysman_0.2.7-1 + + -- Wonil Choi Mon, 26 Apr 2010 09:53:35 +0900 + +libslp-sysman (0.2.6-1) unstable; urgency=low + + * Add sysperf APIs - logging all process resource usage + * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libslp-sysman-0 + * Tag: libslp-sysman_0.2.6-1 + + -- Wonil Choi Fri, 23 Apr 2010 01:15:59 +0900 + +libslp-sysman (0.2.5-2) unstable; urgency=low + + * modify script files for DAC + * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libslp-sysman-0 + * Tag: libslp-sysman_0.2.5-2 + + -- Wonil Choi Mon, 19 Apr 2010 17:27:06 +0900 + +libslp-sysman (0.2.5-1) unstable; urgency=low + + * Add sysperf APIs - it logs the resource usage and network traffics + * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libslp-sysman-0 + * Tag: libslp-sysman_0.2.5-1 + + -- Wonil Choi Fri, 16 Apr 2010 20:25:21 +0900 + +libslp-sysman (0.2.4-6) unstable; urgency=low + + * make a link and move the script file + + -- Wonil Choi Thu, 01 Apr 2010 14:33:16 +0900 + +libslp-sysman (0.2.4-5) unstable; urgency=low + + * added an rc.local script + + -- Wonil Choi Tue, 30 Mar 2010 18:54:42 +0900 + +libslp-sysman (0.2.4-4) unstable; urgency=low + + * Toolchain Upgrade + + -- Wonil Choi Thu, 25 Mar 2010 16:24:39 +0900 + +libslp-sysman (0.2.4-3) unstable; urgency=low + + * added libsqlfs_mount to vip list + + -- Wonil Choi Thu, 18 Mar 2010 18:29:48 +0900 + +libslp-sysman (0.2.4-2) unstable; urgency=low + + * added indicator to permanent process list + + -- Wonil Choi Fri, 05 Mar 2010 17:59:46 +0900 + +libslp-sysman (0.2.4-1) unstable; urgency=low + + * unused codes clean up + + -- Wonil Choi Wed, 03 Mar 2010 14:33:17 +0900 + +libslp-sysman (0.2.3-3) unstable; urgency=low + + * add dbg pkg + + -- Wonil Choi Tue, 02 Mar 2010 20:41:20 +0900 + +libslp-sysman (0.2.3-2) unstable; urgency=low + + * remove file-manager-server from permanent process list + + -- Wonil Choi Tue, 02 Mar 2010 09:05:38 +0900 + +libslp-sysman (0.2.3-1) unstable; urgency=low + + * add poweroff predefine action macro + + -- Wonil Choi Thu, 25 Feb 2010 12:02:40 +0900 + +libslp-sysman (0.2.2-4) unstable; urgency=low + + * clean up regpmon.sh script + + -- Wonil Choi Tue, 23 Feb 2010 16:13:35 +0900 + +libslp-sysman (0.2.2-3) unstable; urgency=low + + * add regpmon.desktop and regpmon.sh + + -- Wonil Choi Mon, 22 Feb 2010 15:01:24 +0900 + +libslp-sysman (0.2.2-2) unstable; urgency=low + + * add doxygen comments + + -- Wonil Choi Fri, 12 Feb 2010 14:11:04 +0900 + +libslp-sysman (0.2.2-1) unstable; urgency=low + + * modified set_vip to set permanent + + -- Wonil Choi Mon, 08 Feb 2010 15:51:31 +0900 + +libslp-sysman (0.2.1-2) unstable; urgency=low + + * add comments and change the vip, permanent precess directory path + + -- Wonil Choi Tue, 02 Feb 2010 14:26:14 +0900 + +libslp-sysman (0.2.1-1) unstable; urgency=low + + * fix Prevent bugs + + -- Wonil Choi Mon, 01 Feb 2010 11:54:27 +0900 + +libslp-sysman (0.2.0-3) unstable; urgency=low + + * add doxygen comments + + -- Wonil Choi Fri, 29 Jan 2010 16:55:01 +0900 + +libslp-sysman (0.2.0-2) unstable; urgency=low + + * edit debian/contorl file (fix to full-build-break , add dependency libslp-applog-dev) + + -- Yongsul Oh Thu, 28 Jan 2010 14:55:17 +0900 + +libslp-sysman (0.2.0-1) unstable; urgency=low + + * change names - remove SLP + + -- Wonil Choi Tue, 26 Jan 2010 18:39:17 +0900 + +libslp-sysman (0.1.1-2) unstable; urgency=low + + * debianize dev dependency fix + + -- knhoon.baik Tue, 01 Dec 2009 16:01:00 +0900 + +libslp-sysman (0.1.1-1) unstable; urgency=low + + * X1 -> SLP + + -- knhoon.baik Fri, 13 Nov 2009 17:11:22 +0900 + +libslp-sysman (0.1.0-6) unstable; urgency=low + + * Initial Release. + + -- knhoon.baik Fri, 13 Nov 2009 17:11:22 +0900 diff --git a/debian/control b/debian/control old mode 100755 new mode 100644 diff --git a/debian/libslp-sysman-dev.install.in b/debian/libslp-sysman-dev.install.in old mode 100644 new mode 100755 index 826fc3e..848afa5 --- a/debian/libslp-sysman-dev.install.in +++ b/debian/libslp-sysman-dev.install.in @@ -1,3 +1,4 @@ @PREFIX@/include/sysman/sysman.h +@PREFIX@/include/sysman/sysman_managed.h @PREFIX@/include/sysman/SLP_sysman_PG.h @PREFIX@/lib/pkgconfig/*.pc diff --git a/debian/rules b/debian/rules index 754b263..d9e8806 100755 --- a/debian/rules +++ b/debian/rules @@ -92,7 +92,6 @@ install: build $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install mkdir -p $(CURDIR)/debian/tmp/etc/rc.d/rc3.d/ mkdir -p $(CURDIR)/debian/tmp/etc/rc.d/rc5.d/ - ln -s ../init.d/pmon $(CURDIR)/debian/tmp/etc/rc.d/rc3.d/S20pmon ln -s /usr/bin/regpmon.sh $(CURDIR)/debian/tmp/etc/rc.d/rc3.d/S99regpmon ln -s /usr/bin/regpmon.sh $(CURDIR)/debian/tmp/etc/rc.d/rc5.d/S99regpmon diff --git a/packaging/sysman.spec b/packaging/sysman.spec index f6b5fbb..9c6aba2 100755 --- a/packaging/sysman.spec +++ b/packaging/sysman.spec @@ -1,6 +1,6 @@ Name: sysman Summary: System manager interface library -Version: 0.2.25 +Version: 0.2.25 Release: 1 Group: System/Libraries License: LGPL @@ -51,7 +51,6 @@ rm -rf %{buildroot} mkdir -p %{buildroot}%{_sysconfdir}/rc.d/ mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc3.d/ mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc5.d/ -ln -s %{_sysconfdir}/init.d/pmon %{buildroot}%{_sysconfdir}/rc.d/rc3.d/S20pmon ln -s %{_bindir}/regpmon.sh %{buildroot}%{_sysconfdir}/rc.d/rc3.d/S99regpmon ln -s %{_bindir}/regpmon.sh %{buildroot}%{_sysconfdir}/rc.d/rc5.d/S99regpmon @@ -73,6 +72,7 @@ ln -s %{_bindir}/regpmon.sh %{buildroot}%{_sysconfdir}/rc.d/rc5.d/S99regpmon %files devel %defattr(-,root,root,-) %{_includedir}/sysman/sysman.h +%{_includedir}/sysman/sysman_managed.h %{_includedir}/sysman/SLP_sysman_PG.h %{_libdir}/pkgconfig/*.pc %{_libdir}/*.so diff --git a/set_pmon/regpmon.sh b/set_pmon/regpmon.sh index 76c2a9e..37e2540 100755 --- a/set_pmon/regpmon.sh +++ b/set_pmon/regpmon.sh @@ -8,5 +8,5 @@ elif [ -e /opt/etc/.hib_capturing_firstboot ]; then fi set_pmon -v Xorg enlightenment dbus-daemon libsqlfs_mount telephony-server pulseaudio -set_pmon -p wifid phonebook-engine voice-calld menu-daemon input_router indicator dlog-daemon ss-server media-server sf_server security-server dnet quickpanel sound_server audio-session-mgr-server launchpad_preloading_preinitializing_daemon voip-daemon media-thumbnail-server +set_pmon -p wifid phonebook-engine voice-calld menu-daemon input_router indicator dlog-daemon ss-server media-server sf_server security-server dnet quickpanel sound_server audio-session-mgr-server launchpad_preloading_preinitializing_daemon voip-daemon media-thumbnail-server nfc-manager-daemon drm_server download-provider diff --git a/sysconf.c b/sysconf.c old mode 100755 new mode 100644 diff --git a/sysman.h b/sysman.h old mode 100644 new mode 100755 index b55ac6c..7c80b99 --- a/sysman.h +++ b/sysman.h @@ -27,6 +27,7 @@ #include #include #include +#include "sysman_managed.h" #ifndef DEPRECATED #define DEPRECATED __attribute__((deprecated)) @@ -67,16 +68,6 @@ extern "C" { /* sysman_util */ -/** - * @fn int sysman_get_pid(const char *execpath) - * @brief This API is used to get the pid of the process which has the specified execpath.\n - * Internally, this API searches /proc/{pid}/cmdline and compares the parameter execpath with 1st argument of cmdline. \n - * If there is no process that has same execpath in /proc/{pid}/cmdline, it will return -1. - * @param[in] execpath program path which you want to know whether it is run or not - * @return pid when the program is running, -1 if it is not. - */ - int sysman_get_pid(const char *execpath); - /** * @fn int sysman_get_cmdline_name(pid_t pid, char *cmdline, size_t cmdline_size) * @brief This API is used to get the file name of command line of the process from the proc fs. @@ -201,7 +192,6 @@ extern "C" { */ int sysconf_is_vip(pid_t pid); - int sysman_set_datetime(time_t timet); int sysman_set_timezone(char *tzpath_str); int sysman_call_predef_action(const char *type, int num, ...); @@ -216,23 +206,6 @@ extern "C" { int sysman_request_leavesleep(void); int sysman_request_reboot(void); -#define VCONFKEY_SYSMAN_MMC_MOUNT "memory/Device/mmc_mount" - enum { - VCONFKEY_SYSMAN_MMC_MOUNT_COMPLETED = 0, - VCONFKEY_SYSMAN_MMC_MOUNT_ALREADY, - VCONFKEY_SYSMAN_MMC_MOUNT_FAILED - }; -#define VCONFKEY_SYSMAN_MMC_UNMOUNT "memory/Device/mmc_unmount" - enum { - VCONFKEY_SYSMAN_MMC_UNMOUNT_COMPLETED = 0, - VCONFKEY_SYSMAN_MMC_UNMOUNT_FAILED - }; -#define VCONFKEY_SYSMAN_MMC_FORMAT "memory/Device/mmc_format" - enum { - VCONFKEY_SYSMAN_MMC_FORMAT_COMPLETED = 0, - VCONFKEY_SYSMAN_MMC_FORMAT_FAILED - }; - struct mmc_contents { void (*mmc_cb) (int result, void* data); void* user_data; diff --git a/sysman_managed.h b/sysman_managed.h new file mode 100755 index 0000000..0578373 --- /dev/null +++ b/sysman_managed.h @@ -0,0 +1,56 @@ +/* + * libslp-sysman + * + * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. + * + * Contact: DongGi Jang + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * +*/ + + +#ifndef ___SYSMAN_MANAGED___ +#define ___SYSMAN_MANAGED___ + +#include + +/** + * @file sysman_managed.h + * @ingroup libsysman System Manager library + * @brief This library provides APIs related with memory, performance, processes, and so on. + * @author SLP2.0 + * @date 2010-01-24 + * @version 0.1 + */ + +/** + * @fn int sysman_get_pid(const char *execpath) + * @brief This API is used to get the pid of the process which has the specified execpath.\n + * Internally, this API searches /proc/{pid}/cmdline and compares the parameter execpath with 1st argument of cmdline. \n + * If there is no process that has same execpath in /proc/{pid}/cmdline, it will return -1. + * @param[in] execpath program path which you want to know whether it is run or not + * @return pid when the program is running, -1 if it is not. + */ + int sysman_get_pid(const char *execpath); + +/** + * @fn int sysman_set_datetime(time_t timet) + * @brief This API is used to set date time.\n + * Internally, this API call predefined action API. That is send a notify message. \n + * @param[in] time_t type of time which you want to set. + * @return pid when the program is running, -1 if param is less than 0 or when failed set datetime. + */ + int sysman_set_datetime(time_t timet); + +#endif /* ___SYSMAN_MANAGED___ */ -- cgit v1.2.3