change system header file from dd-system to dd-deviced
[platform/core/system/system-server.git] / src / shared / deviced-priv.h
1 /*
2  *  deviced
3  *
4  * Copyright (c) 2012 - 2013 Samsung Electronics Co., Ltd. All rights reserved.
5  *
6  * Licensed under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  *
18  */
19
20
21 #ifndef __DEVICED_PRIVATE__
22 #define __DEVICED_PRIVATE__
23
24 #include "common.h"
25
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29
30 #define SYSTEM_NOTI_MAXARG 16
31 #define SYSTEM_NOTI_MAXSTR 100
32 #define BUFF_MAX 255
33
34 struct sysnoti {
35         int pid;
36         int cmd;
37         char *type;
38         char *path;
39         int argc;
40         char *argv[SYSTEM_NOTI_MAXARG];
41 };
42
43         int util_launch_app_cmd(const char *cmdline);
44
45 #ifdef __cplusplus
46 }
47 #endif
48 #endif                          /* __DEVICED_PRIVATE__ */