Tizen release 1.0
[apps/core/preloaded/video-player.git] / include / mp-xml-parser.h
1 /*\r
2  * Copyright   2000 - 2012 Samsung Electronics Co., Ltd All Rights Reserved\r
3  *\r
4  * This file is part of org.tizen.video-player\r
5  * Written by  JongDong Lee <jongdong.lee@samsung.com>, ChangSun Lee <cs78.lee@samsung.com>\r
6  *\r
7  * PROPRIETARY/CONFIDENTIAL\r
8  *\r
9  * This software is the confidential and proprietary information of SAMSUNG ELECTRONICS ("Confidential Information").\r
10  * You shall not disclose such Confidential Information and shall\r
11  * use it only in accordance with the terms of the license agreement you entered into with SAMSUNG ELECTRONICS.\r
12  * SAMSUNG make no representations or warranties about the suitability\r
13  * of the software, either express or implied, including but not\r
14  * limited to the implied warranties of merchantability, fitness for a particular purpose, or non-infringement.\r
15  * SAMSUNG shall not be liable for any damages suffered by licensee as\r
16  * a result of using, modifying or distributing this software or its derivatives.\r
17  *\r
18  */\r
19 \r
20 \r
21 \r
22 \r
23 #ifndef _MP_XML_PARSER_H_\r
24 #define _MP_XML_PARSER_H_\r
25 \r
26 \r
27 #include <stdio.h>\r
28 #include <stdbool.h>\r
29 \r
30 \r
31 \r
32 void mp_xml_init();\r
33 void mp_xml_destroy();\r
34 \r
35 unsigned int mp_read_xml_file(const char *file_name, char **data);\r
36  bool mp_get_url_from_xml(const char *content, int length, char **streamer_url, int mode);\r
37 char *mp_get_title_from_xml(const char *file_name);\r
38 int mp_get_xmlitem(const char *content, int length, MpXMLItemInfo *item,int *nHttpCount, int *nRtspCount);\r
39 \r
40 #endif\r