Radek Krejci | da04f4a | 2015-05-21 12:54:09 +0200 | [diff] [blame] | 1 | /** |
Radek Krejci | efdd0ce | 2015-05-26 16:48:29 +0200 | [diff] [blame^] | 2 | * @file parser.h |
Radek Krejci | da04f4a | 2015-05-21 12:54:09 +0200 | [diff] [blame] | 3 | * @author Radek Krejci <rkrejci@cesnet.cz> |
Radek Krejci | efdd0ce | 2015-05-26 16:48:29 +0200 | [diff] [blame^] | 4 | * @brief Parsers for libyang |
Radek Krejci | da04f4a | 2015-05-21 12:54:09 +0200 | [diff] [blame] | 5 | * |
| 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 Krejci | efdd0ce | 2015-05-26 16:48:29 +0200 | [diff] [blame^] | 40 | #ifndef LY_PARSER_H_ |
| 41 | #define LY_PARSER_H_ |
Radek Krejci | da04f4a | 2015-05-21 12:54:09 +0200 | [diff] [blame] | 42 | |
| 43 | #include "context.h" |
| 44 | #include "tree.h" |
| 45 | |
| 46 | /** |
| 47 | * @defgroup yin YIN format support |
| 48 | * @{ |
| 49 | */ |
Radek Krejci | da04f4a | 2015-05-21 12:54:09 +0200 | [diff] [blame] | 50 | struct ly_module *ly_read_yin(struct ly_ctx *ctx, const char *data); |
| 51 | |
Radek Krejci | efdd0ce | 2015-05-26 16:48:29 +0200 | [diff] [blame^] | 52 | #endif /* LY_PARSER_H_ */ |