blob: 42832969e763edff477aefc8981bf5ff3ecd9d28 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
/* Copyright (C) 2010 The Android Open Source Project
**
** This software is licensed under the terms of the GNU General Public
** License version 2, as published by the Free Software Foundation, and
** may be copied, distributed, and modified under those terms.
**
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU General Public License for more details.
*/
#ifndef _ANDROID_PROTOCOL_CORE_COMMANDS_PROXY_H
#define _ANDROID_PROTOCOL_CORE_COMMANDS_PROXY_H
#include "sockets.h"
/*
* Contains the UI-side implementation of the "ui-core-control" service that is
* part of the UI control protocol. Here we send UI control commands to the Core.
*/
/* Creates and initializes descriptor for the UI-side of the "ui-core-control"
* service. Note that there can be only one instance of this service in the UI.
* Param:
* console_socket - Addresses Core's console.
* Return:
* 0 on success, or < 0 on failure.
*/
extern int coreCmdProxy_create(SockAddress* console_socket);
/* Destroys the UI-side of the "ui-core-control" */
void coreCmdProxy_destroy(void);
#endif /* _ANDROID_PROTOCOL_CORE_COMMANDS_PROXY_H */
|