Bug fix TIVI-839 ,change the design and permit operation of the music player while...
[profile/ivi/ico-uxf-homescreen.git] / include / home_screen_lib.h
1 /*
2  * Copyright (c) 2013, TOYOTA MOTOR CORPORATION.
3  *
4  * This program is licensed under the terms and conditions of the
5  * Apache License, version 2.0.  The full text of the Apache License is at
6  * http://www.apache.org/licenses/LICENSE-2.0
7  *
8  */
9 /**
10  * @brief   header file for homescreen communication
11  *
12  * @date    Feb-15-2013
13  */
14
15 #ifndef __HOME_SCREEN_LIB_H__
16 #define __HOME_SCREEN_LIB_H__
17
18 /*============================================================================*/
19 /* definition                                                                 */
20 /*============================================================================*/
21 struct socket_data {
22     struct libwebsocket_context *ws_context;
23     int port;
24 };
25
26 /*============================================================================*/
27 /* functions                                                                  */
28 /*============================================================================*/
29 extern int hs_lib_main(int port);
30 extern int hs_lib_event_message(int type, char *format, ...);
31
32 #endif /* __HOME_SCREEN_LIB_H__ */
33