blob: fddf6d4cf3d5b0f938655116348e75387e81b7dc [file] [log] [blame]
Radek Krejcida04f4a2015-05-21 12:54:09 +02001/**
Radek Krejciefdd0ce2015-05-26 16:48:29 +02002 * @file parser.h
Radek Krejcida04f4a2015-05-21 12:54:09 +02003 * @author Radek Krejci <rkrejci@cesnet.cz>
Radek Krejciefdd0ce2015-05-26 16:48:29 +02004 * @brief Parsers for libyang
Radek Krejcida04f4a2015-05-21 12:54:09 +02005 *
6 * Copyright (c) 2015 CESNET, z.s.p.o.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions
10 * are met:
11 * 1. Redistributions of source code must retain the above copyright
12 * notice, this list of conditions and the following disclaimer.
13 * 2. Redistributions in binary form must reproduce the above copyright
14 * notice, this list of conditions and the following disclaimer in
15 * the documentation and/or other materials provided with the
16 * distribution.
17 * 3. Neither the name of the Company nor the names of its contributors
18 * may be used to endorse or promote products derived from this
19 * software without specific prior written permission.
20 *
21 * ALTERNATIVELY, provided that this notice is retained in full, this
22 * product may be distributed under the terms of the GNU General Public
23 * License (GPL) version 2 or later, in which case the provisions
24 * of the GPL apply INSTEAD OF those given above.
25 *
26 * This software is provided ``as is, and any express or implied
27 * warranties, including, but not limited to, the implied warranties of
28 * merchantability and fitness for a particular purpose are disclaimed.
29 * In no event shall the company or contributors be liable for any
30 * direct, indirect, incidental, special, exemplary, or consequential
31 * damages (including, but not limited to, procurement of substitute
32 * goods or services; loss of use, data, or profits; or business
33 * interruption) however caused and on any theory of liability, whether
34 * in contract, strict liability, or tort (including negligence or
35 * otherwise) arising in any way out of the use of this software, even
36 * if advised of the possibility of such damage.
37 *
38 */
39
Radek Krejciefdd0ce2015-05-26 16:48:29 +020040#ifndef LY_PARSER_H_
41#define LY_PARSER_H_
Radek Krejcida04f4a2015-05-21 12:54:09 +020042
43#include "context.h"
44#include "tree.h"
45
46/**
47 * @defgroup yin YIN format support
48 * @{
49 */
Radek Krejcida04f4a2015-05-21 12:54:09 +020050struct ly_module *ly_read_yin(struct ly_ctx *ctx, const char *data);
51
Radek Krejciefdd0ce2015-05-26 16:48:29 +020052#endif /* LY_PARSER_H_ */