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 {
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
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);
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)
{