Radek Krejci | 8678fa4 | 2020-08-18 16:07:28 +0200 | [diff] [blame^] | 1 | /** |
| 2 | * @page transition Transition Manual (1.x -> 2.0) |
| 3 | * |
| 4 | * [TOC] |
| 5 | * |
| 6 | * @section transitionContext Context |
| 7 | * |
| 8 | * ly_ctx_info() -> ly_ctx_get_yanglib_data() |
| 9 | * |
| 10 | * - nedoporucuje se menit context po zacatku prace s daty |
| 11 | * - neni ly_ctx_set_module_data_clb() ani souvisejici callback |
| 12 | * |
| 13 | * |
| 14 | * - ::ly_ctx_find_path() byla odebrana |
| 15 | * |
| 16 | * @subsection contextSearchpaths Search Paths |
| 17 | * |
| 18 | * Internally, search directories are still handled the same way. However, API to manipulate the search directories chenged. |
| 19 | * |
| 20 | * ### Unchanged functions |
| 21 | * - ::ly_ctx_get_searchdirs() |
| 22 | * |
| 23 | * ### Changed functions |
| 24 | * - ::ly_ctx_set_searchdir() - Return value was changed to ::LY_ERR. |
| 25 | |
| 26 | * ### Added functions |
| 27 | * - ::ly_ctx_unset_searchdir() |
| 28 | * - ::ly_ctx_unset_searchdir_last() |
| 29 | * |
| 30 | * ### Removed functions |
| 31 | * - ly_ctx_unset_searchdirs() - Since the index is hard to work with, the function was replaced by ::ly_ctx_unset_searchdir() and |
| 32 | * ::ly_ctx_unset_searchdir_last(). |
| 33 | * - lyd_leaf_type() - the type is now more clearer from the schema node than in libyang 1.x |
| 34 | * |
| 35 | * |
| 36 | * @section transitionSchema Schema |
| 37 | * |
| 38 | * lys_set_private() -> lysc_node_set_private() |
| 39 | * lys_is_disabled() -> lys_node_is_disabled() |
| 40 | * X lys_features_list() |
| 41 | * lys_features_enable -> lys_feature_enable() |
| 42 | * lys_features_disable -> lys_feature_disable() |
| 43 | * N lys_feature_*_force() |
| 44 | * lys_features_state() -> lys_feature_value() |
| 45 | * N lysc_feature_value() |
| 46 | * lyd_validate() -> lyd_validate_all(), lyd_validate_op() |
| 47 | * lyd_wd_default() -> lyd_is_default() |
| 48 | * X moving data from one context to another |
| 49 | * X lys_parent(), lys_module(), lys_node_module(), lys_set_enabled(), lys_set_disabled() |
| 50 | * lys_set_private() -> lysc_node_set_private() |
| 51 | */ |