summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSangyoon Jang <s89.jang@samsung.com>2015-02-04 18:04:12 +0900
committerSangyoon Jang <s89.jang@samsung.com>2015-02-09 11:03:21 +0900
commit822a6516ada0d1b20b1be00d1a531b040504aede (patch)
tree0d23807f85ab86e3b9c0f2231cb727a2f36c6458
parent1733988e39aa961a3c1d7236cfa1d6e73362445e (diff)
downloadaul-1-822a6516ada0d1b20b1be00d1a531b040504aede.tar.gz
aul-1-822a6516ada0d1b20b1be00d1a531b040504aede.tar.bz2
aul-1-822a6516ada0d1b20b1be00d1a531b040504aede.zip
Fix implicit declaration warnings
add missing declarations Change-Id: I47ba874e922b578b2ab6b0095e62db5740f13025 Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
-rw-r--r--am_daemon/amd_status.h2
-rw-r--r--am_session_agent/sigchild.h1
-rw-r--r--include/app_sock.h5
-rw-r--r--include/launch.h3
-rw-r--r--include/simple_util.h1
5 files changed, 9 insertions, 3 deletions
diff --git a/am_daemon/amd_status.h b/am_daemon/amd_status.h
index d19486b3..7211a270 100644
--- a/am_daemon/amd_status.h
+++ b/am_daemon/amd_status.h
@@ -30,12 +30,12 @@ int _status_remove_app_info_list(int pid, uid_t uid);
int _status_get_app_info_status(int pid);
int _status_send_running_appinfo(int fd);
int _status_app_is_running(char *appid, uid_t uid);
+int _status_app_is_running_v2(uid_t caller_uid, char *appid);
int _status_send_running_appinfo_v2(int fd); //depcrecated
int _status_get_appid_bypid(int fd, int pid);
-
//TODO : remove
typedef struct _item_pkt_t {
diff --git a/am_session_agent/sigchild.h b/am_session_agent/sigchild.h
index 0e0ab771..c75bde3a 100644
--- a/am_session_agent/sigchild.h
+++ b/am_session_agent/sigchild.h
@@ -19,6 +19,7 @@
*
*/
+#include "launch.h"
#include "aul_util.h"
#include "app_signal.h"
diff --git a/include/app_sock.h b/include/app_sock.h
index 20908a3a..dde5b08d 100644
--- a/include/app_sock.h
+++ b/include/app_sock.h
@@ -83,10 +83,11 @@ int __create_client_sock(int pid);
int __app_send_raw(int pid, int cmd, unsigned char *kb_data, int datalen);
int __app_send_raw_with_noreply(int pid, int cmd, unsigned char *kb_data, int datalen);
int __app_send_raw_with_delay_reply(int pid, int cmd, unsigned char *kb_data, int datalen);
+int __app_agent_send_raw(int uid, int cmd, unsigned char *kb_data, int datalen);
+int __app_agent_send_raw_with_noreply(int uid, int cmd, unsigned char *kb_data, int datalen);
app_pkt_t *__app_recv_raw(int fd, int *clifd, struct ucred *cr);
app_pkt_t *__app_send_cmd_with_result(int pid, int cmd, unsigned char *kb_data, int datalen);
int __create_agent_client_sock(int uid);
-
-
+int __create_server_sock_by_path(char *path);
#endif
diff --git a/include/launch.h b/include/launch.h
index 4025cde2..2210ef3b 100644
--- a/include/launch.h
+++ b/include/launch.h
@@ -44,6 +44,9 @@ int aul_launch_app_with_result(const char *pkgname, bundle *kb,
void (*cbfunc) (bundle *, int, void *),
void *data);
+int app_agent_send_cmd(int uid, int cmd, bundle *kb);
+int app_agent_send_cmd_with_noreply(int uid, int cmd, bundle *kb);
+int app_subapp_terminate_request(void);
gboolean __aul_glib_handler(gpointer data);
diff --git a/include/simple_util.h b/include/simple_util.h
index e0dc4c71..b855b49e 100644
--- a/include/simple_util.h
+++ b/include/simple_util.h
@@ -78,6 +78,7 @@ int __proc_iter_pgid(int pgid, int (*iterfunc) (int pid, void *priv,uid_t uid),
void *priv);
char *__proc_get_cmdline_bypid(int pid);
char *__proc_get_exe_bypid(int pid);
+uid_t __proc_get_usr_bypid(int pid);
static inline const char *FILENAME(const char *filename)
{