4 * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
6 * Contact: DongGi Jang <dg0402.jang@samsung.com>
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
23 #ifndef ___SYSNMAN_PRIVATE___
24 #define ___SYSNMAN_PRIVATE___
33 #define API __attribute__ ((visibility("default")))
35 #define __PRTD(fmt, arg...) \
37 if (getenv("SLP_DEBUG")) { \
38 fprintf(stdout, "[%s:%d] "fmt"\n", __FILE__, __LINE__, ##arg); \
41 #define _NOUT(fmt, arg...) do { } while (0)
49 #define ENABLE_DLOG_OUT 1
50 #ifdef ENABLE_DLOG_OUT
51 # define LOG_TAG "LIBSYSMAN"
59 # define INFO(fmt, arg...) \
60 do { fprintf(stdout, "[%s:%d] "fmt"\n", __FILE__, __LINE__, ##arg); } while (0)
63 #define SYSMAN_MAXARG 16
64 #define SYSMAN_MAXSTR 100
73 char *argv[SYSMAN_MAXARG];
76 int util_launch_app_cmd(const char *cmdline);
81 #endif /* ___SYSMAN_PRIVATE___ */