libyang CHANGE rename ambiguous lyp_ prefixed functions and structures
The 'p' in the lyp_ prefix is not unique since it may refer to printer
as well as parser. Some of the objects are connected with libyang output
object, so they are now prefixed by 'ly_out_' prefix. The rest
(lyp_print() or lyp_write()) is so generic that only the `ly_` prefix
can be used for them.
diff --git a/tests/utests/schema/test_printer_yin.c b/tests/utests/schema/test_printer_yin.c
index 5656795..9dbec76 100644
--- a/tests/utests/schema/test_printer_yin.c
+++ b/tests/utests/schema/test_printer_yin.c
@@ -579,9 +579,9 @@
"</module>\n";
char *printed;
- struct lyp_out *out;
+ struct ly_out *out;
- assert_non_null(out = lyp_new_memory(&printed, 0));
+ assert_non_null(out = ly_out_new_memory(&printed, 0));
assert_int_equal(LY_SUCCESS, ly_ctx_new(NULL, 0, &ctx));
assert_non_null(mod = lys_parse_mem(ctx, orig, LYS_IN_YANG));
@@ -598,7 +598,7 @@
free(printed);
*state = NULL;
- lyp_free(out, NULL, 0);
+ ly_out_free(out, NULL, 0);
ly_ctx_destroy(ctx, NULL);
}