2 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 #ifndef ___SYSNMAN_PRIVATE___
19 #define ___SYSNMAN_PRIVATE___
28 #define API __attribute__ ((visibility("default")))
30 #define __PRTD(fmt, arg...) \
32 if (getenv("SLP_DEBUG")) { \
33 fprintf(stdout, "[%s:%d] "fmt"\n", __FILE__, __LINE__, ##arg); \
36 #define _NOUT(fmt, arg...) do { } while (0)
44 #define ENABLE_DLOG_OUT 1
45 #ifdef ENABLE_DLOG_OUT
46 # define LOG_TAG "LIBSYSMAN"
54 # define INFO(fmt, arg...) \
55 do { fprintf(stdout, "[%s:%d] "fmt"\n", __FILE__, __LINE__, ##arg); } while (0)
58 #define SYSMAN_MAXARG 16
59 #define SYSMAN_MAXSTR 100
68 char *argv[SYSMAN_MAXARG];
71 int util_launch_app_cmd(const char *cmdline);
76 #endif /* ___SYSMAN_PRIVATE___ */