5acb1b1beafd48a70395d859a7ac64dd0df6b80d
[lttng-tools.git] / tests / utils / xml-utils / common.hpp
1 /*
2 * Copyright (C) 2024 EfficiOS Inc.
3 *
4 * SPDX-License-Identifier: LGPL-2.1-only
5 *
6 */
7
8 #ifndef TESTS_UTILS_XML_UTILS_COMMON_HPP
9 #define TESTS_UTILS_XML_UTILS_COMMON_HPP
10
11 #include "common/make-unique-wrapper.hpp"
12
13 #include <libxml/parser.h>
14 #include <memory>
15
16 using xml_parser_ctx_uptr = std::unique_ptr<
17 xmlParserCtxt,
18 lttng::memory::create_deleter_class<xmlParserCtxt, xmlFreeParserCtxt>::deleter>;
19
20 #endif /* TESTS_UTILS_XML_UTILS_COMMON_HPP */
This page took 0.030339 seconds and 4 git commands to generate.