|
1 | 1 | /** |
2 | 2 | * @file in_internal.h |
3 | 3 | * @author Radek Krejci <[email protected]> |
| 4 | + * @author Michal Vasko <[email protected]> |
4 | 5 | * @brief Internal structures and functions for libyang parsers |
5 | 6 | * |
6 | | - * Copyright (c) 2020 CESNET, z.s.p.o. |
| 7 | + * Copyright (c) 2020 - 2023 CESNET, z.s.p.o. |
7 | 8 | * |
8 | 9 | * This source code is licensed under BSD 3-Clause License (the "License"). |
9 | 10 | * You may not use this file except in compliance with the License. |
@@ -46,31 +47,4 @@ struct ly_in { |
46 | 47 | #define LY_IN_NEW_LINE(IN) \ |
47 | 48 | (IN)->line++ |
48 | 49 |
|
49 | | -/** |
50 | | - * @brief Read bytes from an input. |
51 | | - * |
52 | | - * Does not count new lines, which is expected from the caller who has better idea about |
53 | | - * the content of the read data and can better optimize counting. |
54 | | - * |
55 | | - * @param[in] in Input structure. |
56 | | - * @param[in] buf Destination buffer. |
57 | | - * @param[in] count Number of bytes to read. |
58 | | - * @return LY_SUCCESS on success, |
59 | | - * @return LY_EDENIED on EOF. |
60 | | - */ |
61 | | -LY_ERR ly_in_read(struct ly_in *in, void *buf, size_t count); |
62 | | - |
63 | | -/** |
64 | | - * @brief Just skip bytes in an input. |
65 | | - * |
66 | | - * Does not count new lines, which is expected from the caller who has better idea about |
67 | | - * the content of the skipped data and can better optimize counting. |
68 | | - * |
69 | | - * @param[in] in Input structure. |
70 | | - * @param[in] count Number of bytes to skip. |
71 | | - * @return LY_SUCCESS on success, |
72 | | - * @return LY_EDENIED on EOF. |
73 | | - */ |
74 | | -LY_ERR ly_in_skip(struct ly_in *in, size_t count); |
75 | | - |
76 | 50 | #endif /* LY_IN_INTERNAL_H_ */ |
0 commit comments