Commit | Line | Data |
---|---|---|
051356a8 SM |
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 */ |